Sha256: 046f9f5191ed6e499620bcb7847145e0eb1864016872e7e8550f77b421dd860c
Contents?: true
Size: 531 Bytes
Versions: 28
Compression:
Stored size: 531 Bytes
Contents
module Avo module Fields class HasManyBaseField < ManyFrameBaseField attr_reader :attach_scope, :link_to_child_resource, :attach_fields def initialize(id, **args, &block) super(id, **args, &block) @attach_scope = args[:attach_scope] # Defaults to nil so that if not set falls back to `link_to_child_resource` defined in the resource @link_to_child_resource = args[:link_to_child_resource] @attach_fields = args[:attach_fields] end end end end
Version data entries
28 entries across 28 versions & 1 rubygems