Class: Pressroom::Blocks::Schema::Field
- Inherits:
-
Struct
- Object
- Struct
- Pressroom::Blocks::Schema::Field
- Defined in:
- lib/pressroom/blocks/schema.rb
Instance Attribute Summary collapse
-
#default ⇒ Object
Returns the value of attribute default.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#required ⇒ Object
Returns the value of attribute required.
-
#schema ⇒ Object
Returns the value of attribute schema.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#default ⇒ Object
Returns the value of attribute default
11 12 13 |
# File 'lib/pressroom/blocks/schema.rb', line 11 def default @default end |
#name ⇒ Object
Returns the value of attribute name
11 12 13 |
# File 'lib/pressroom/blocks/schema.rb', line 11 def name @name end |
#options ⇒ Object
Returns the value of attribute options
11 12 13 |
# File 'lib/pressroom/blocks/schema.rb', line 11 def @options end |
#required ⇒ Object
Returns the value of attribute required
11 12 13 |
# File 'lib/pressroom/blocks/schema.rb', line 11 def required @required end |
#schema ⇒ Object
Returns the value of attribute schema
11 12 13 |
# File 'lib/pressroom/blocks/schema.rb', line 11 def schema @schema end |
#type ⇒ Object
Returns the value of attribute type
11 12 13 |
# File 'lib/pressroom/blocks/schema.rb', line 11 def type @type end |