Class: Pressroom::Blocks::Schema::Field

Inherits:
Struct
  • Object
show all
Defined in:
lib/pressroom/blocks/schema.rb

Instance Attribute Summary collapse

Instance Attribute Details

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



11
12
13
# File 'lib/pressroom/blocks/schema.rb', line 11

def default
  @default
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/pressroom/blocks/schema.rb', line 11

def name
  @name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



11
12
13
# File 'lib/pressroom/blocks/schema.rb', line 11

def options
  @options
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



11
12
13
# File 'lib/pressroom/blocks/schema.rb', line 11

def required
  @required
end

#schemaObject

Returns the value of attribute schema

Returns:

  • (Object)

    the current value of schema



11
12
13
# File 'lib/pressroom/blocks/schema.rb', line 11

def schema
  @schema
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



11
12
13
# File 'lib/pressroom/blocks/schema.rb', line 11

def type
  @type
end