Sha256: 36ed99c266c5c43cb0c79ba818f755c2011ff0441cc3094ab5f6ea9a95eaacb7
Contents?: true
Size: 366 Bytes
Versions: 15
Compression:
Stored size: 366 Bytes
Contents
module JsonApiClient module Associations module HasMany extend ActiveSupport::Concern module ClassMethods def has_many(attr_name, options = {}) self.associations = self.associations + [HasMany::Association.new(attr_name, self, options)] end end class Association < BaseAssociation end end end end
Version data entries
15 entries across 15 versions & 1 rubygems