Class: Property

Inherits:
Struct
  • Object
show all
Defined in:
lib/spree_client/models/property.rb

Overview

See Also:

  • Spree::Property

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



2
3
4
# File 'lib/spree_client/models/property.rb', line 2

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/spree_client/models/property.rb', line 2

def name
  @name
end

#presentationObject

Returns the value of attribute presentation

Returns:

  • (Object)

    the current value of presentation



2
3
4
# File 'lib/spree_client/models/property.rb', line 2

def presentation
  @presentation
end

Instance Method Details

#to_sObject



3
4
5
# File 'lib/spree_client/models/property.rb', line 3

def to_s
  'property'.freeze
end