Method: JsonApiClient::Helpers::Associatable::ClassMethods#has_many
- Defined in:
- lib/json_api_client/helpers/associatable.rb
#has_many(attr_name, options = {}) ⇒ Object
50 51 52 53 |
# File 'lib/json_api_client/helpers/associatable.rb', line 50 def has_many(attr_name, = {}) _define_association(attr_name, JsonApiClient::Associations::HasMany::Association, ) _define_relationship_methods(attr_name) end |