Sha256: 0be8def2ead5708e3b111e7914c55ca9b6daad6d5cb6c7cd66f06732533e3531
Contents?: true
Size: 531 Bytes
Versions: 39
Compression:
Stored size: 531 Bytes
Contents
module Arrest class HasManyAttribute < Attribute attr_reader :method_name, :clazz_name, :url_part, :foreign_key def initialize(ids_field_name, method_name, clazz_name, url_part, foreign_key, read_only = false) super(ids_field_name, read_only, Array) @method_name = method_name.to_sym @clazz_name = clazz_name.to_sym @url_part = url_part.to_sym @foreign_key = foreign_key.to_sym end end end
Version data entries
39 entries across 39 versions & 1 rubygems