Class: Easyop::FieldSchema::Field
- Inherits:
-
Struct
- Object
- Struct
- Easyop::FieldSchema::Field
- Defined in:
- lib/easyop/schema.rb
Instance Attribute Summary collapse
-
#default ⇒ Object
Returns the value of attribute default.
-
#has_default ⇒ Object
Returns the value of attribute has_default.
-
#name ⇒ Object
Returns the value of attribute name.
-
#required ⇒ Object
Returns the value of attribute required.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#default ⇒ Object
Returns the value of attribute default
86 87 88 |
# File 'lib/easyop/schema.rb', line 86 def default @default end |
#has_default ⇒ Object
Returns the value of attribute has_default
86 87 88 |
# File 'lib/easyop/schema.rb', line 86 def has_default @has_default end |
#name ⇒ Object
Returns the value of attribute name
86 87 88 |
# File 'lib/easyop/schema.rb', line 86 def name @name end |
#required ⇒ Object
Returns the value of attribute required
86 87 88 |
# File 'lib/easyop/schema.rb', line 86 def required @required end |
#type ⇒ Object
Returns the value of attribute type
86 87 88 |
# File 'lib/easyop/schema.rb', line 86 def type @type end |