Class: Latitude::API::Attributes::Spec

Inherits:
Struct
  • Object
show all
Defined in:
lib/latitude/api/attributes.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/latitude/api/attributes.rb', line 6

def name
  @name
end

#read_onlyObject

Returns the value of attribute read_only

Returns:

  • (Object)

    the current value of read_only



6
7
8
# File 'lib/latitude/api/attributes.rb', line 6

def read_only
  @read_only
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



6
7
8
# File 'lib/latitude/api/attributes.rb', line 6

def type
  @type
end