Method: JSONAPI::Resource._resource_name_from_type
- Defined in:
- lib/jsonapi/resource.rb
._resource_name_from_type(type) ⇒ Object
441 442 443 |
# File 'lib/jsonapi/resource.rb', line 441 def _resource_name_from_type(type) "#{type.to_s.underscore.singularize}_resource".camelize end |