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

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

Instance Attribute Summary collapse

Instance Attribute Details

#acceptObject

Returns the value of attribute accept

Returns:

  • (Object)

    the current value of accept



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def accept
  @accept
end

#collectionObject

Returns the value of attribute collection

Returns:

  • (Object)

    the current value of collection



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def collection
  @collection
end

#creatableObject

Returns the value of attribute creatable

Returns:

  • (Object)

    the current value of creatable



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def creatable
  @creatable
end

#create_urlObject

Returns the value of attribute create_url

Returns:

  • (Object)

    the current value of create_url



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def create_url
  @create_url
end

#helpObject

Returns the value of attribute help

Returns:

  • (Object)

    the current value of help



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def help
  @help
end

#if_conditionObject

Returns the value of attribute if_condition

Returns:

  • (Object)

    the current value of if_condition



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def if_condition
  @if_condition
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def label
  @label
end

#label_colorObject

Returns the value of attribute label_color

Returns:

  • (Object)

    the current value of label_color



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def label_color
  @label_color
end

#label_sizeObject

Returns the value of attribute label_size

Returns:

  • (Object)

    the current value of label_size



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def label_size
  @label_size
end

#multipleObject

Returns the value of attribute multiple

Returns:

  • (Object)

    the current value of multiple



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def multiple
  @multiple
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def name
  @name
end

#placeholderObject

Returns the value of attribute placeholder

Returns:

  • (Object)

    the current value of placeholder



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def placeholder
  @placeholder
end

#previewObject

Returns the value of attribute preview

Returns:

  • (Object)

    the current value of preview



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def preview
  @preview
end

#readonlyObject

Returns the value of attribute readonly

Returns:

  • (Object)

    the current value of readonly



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def readonly
  @readonly
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def required
  @required
end

#rowsObject

Returns the value of attribute rows

Returns:

  • (Object)

    the current value of rows



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def rows
  @rows
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def type
  @type
end

#unless_conditionObject

Returns the value of attribute unless_condition

Returns:

  • (Object)

    the current value of unless_condition



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def unless_condition
  @unless_condition
end

#variantsObject

Returns the value of attribute variants

Returns:

  • (Object)

    the current value of variants



405
406
407
# File 'lib/admin/base/resource.rb', line 405

def variants
  @variants
end