Class: Taxonomy

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

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



1
2
3
# File 'lib/spree_client/models/taxonomy.rb', line 1

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



1
2
3
# File 'lib/spree_client/models/taxonomy.rb', line 1

def name
  @name
end

Instance Method Details

#to_sObject



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

def to_s
  'taxonomy'.freeze
end