Class: Admin::Base::Resource::FieldDefinition

Inherits:
Struct
  • Object
show all
Defined in:
lib/admin/base/resource.rb

Instance Attribute Summary collapse

Instance Attribute Details

#accept ⇒ Object

Returns the value of attribute accept

Returns:

  • (Object) —

    the current value of accept



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def accept
  @accept
end

#collection ⇒ Object

Returns the value of attribute collection

Returns:

  • (Object) —

    the current value of collection



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def collection
  @collection
end

#creatable ⇒ Object

Returns the value of attribute creatable

Returns:

  • (Object) —

    the current value of creatable



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def creatable
  @creatable
end

#create_url ⇒ Object

Returns the value of attribute create_url

Returns:

  • (Object) —

    the current value of create_url



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def create_url
  @create_url
end

#help ⇒ Object

Returns the value of attribute help

Returns:

  • (Object) —

    the current value of help



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def help
  @help
end

#if_condition ⇒ Object

Returns the value of attribute if_condition

Returns:

  • (Object) —

    the current value of if_condition



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def if_condition
  @if_condition
end

#label ⇒ Object

Returns the value of attribute label

Returns:

  • (Object) —

    the current value of label



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def label
  @label
end

#label_color ⇒ Object

Returns the value of attribute label_color

Returns:

  • (Object) —

    the current value of label_color



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def label_color
  @label_color
end

#label_size ⇒ Object

Returns the value of attribute label_size

Returns:

  • (Object) —

    the current value of label_size



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def label_size
  @label_size
end

#multiple ⇒ Object

Returns the value of attribute multiple

Returns:

  • (Object) —

    the current value of multiple



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def multiple
  @multiple
end

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def name
  @name
end

#parent_field ⇒ Object

Returns the value of attribute parent_field

Returns:

  • (Object) —

    the current value of parent_field



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def parent_field
  @parent_field
end

#placeholder ⇒ Object

Returns the value of attribute placeholder

Returns:

  • (Object) —

    the current value of placeholder



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def placeholder
  @placeholder
end

#preview ⇒ Object

Returns the value of attribute preview

Returns:

  • (Object) —

    the current value of preview



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def preview
  @preview
end

#readonly ⇒ Object

Returns the value of attribute readonly

Returns:

  • (Object) —

    the current value of readonly



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def readonly
  @readonly
end

#required ⇒ Object

Returns the value of attribute required

Returns:

  • (Object) —

    the current value of required



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def required
  @required
end

#resource ⇒ Object

Returns the value of attribute resource

Returns:

  • (Object) —

    the current value of resource



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def resource
  @resource
end

#rows ⇒ Object

Returns the value of attribute rows

Returns:

  • (Object) —

    the current value of rows



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def rows
  @rows
end

#type ⇒ Object

Returns the value of attribute type

Returns:

  • (Object) —

    the current value of type



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def type
  @type
end

#unless_condition ⇒ Object

Returns the value of attribute unless_condition

Returns:

  • (Object) —

    the current value of unless_condition



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def unless_condition
  @unless_condition
end

#variants ⇒ Object

Returns the value of attribute variants

Returns:

  • (Object) —

    the current value of variants



437
438
439
# File 'lib/admin/base/resource.rb', line 437

def variants
  @variants
end