method
compat_signature_entry
v1.1.6 -
Show latest stable
- Class:
ActionWebService::API::Method
compat_signature_entry(entry)private
No documentation available.
# File actionwebservice/lib/action_web_service/api.rb, line 236
def compat_signature_entry(entry)
if entry.array?
[compat_signature_entry(entry.element_type)]
else
if entry.spec.is_a?(Hash)
{entry.spec.keys.first => entry.type_class}
else
entry.type_class
end
end
end