method

compat_signature_entry

rails latest stable - Class: ActionWebService::API::Method

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

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