Class: Easyop::FieldSchema::Field

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

Instance Attribute Summary collapse

Instance Attribute Details

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



86
87
88
# File 'lib/easyop/schema.rb', line 86

def default
  @default
end

#has_defaultObject

Returns the value of attribute has_default

Returns:

  • (Object)

    the current value of has_default



86
87
88
# File 'lib/easyop/schema.rb', line 86

def has_default
  @has_default
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



86
87
88
# File 'lib/easyop/schema.rb', line 86

def name
  @name
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



86
87
88
# File 'lib/easyop/schema.rb', line 86

def required
  @required
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



86
87
88
# File 'lib/easyop/schema.rb', line 86

def type
  @type
end