Class: Coneco::Category

Inherits:
Object
  • Object
show all
Includes:
InitHelper
Defined in:
lib/coneco/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from InitHelper

#_to_ivar_name, #populate

Constructor Details

#initialize(h) ⇒ Category

Returns a new instance of Category.



79
80
81
# File 'lib/coneco/client.rb', line 79

def initialize(h)
  populate(h)
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



78
79
80
# File 'lib/coneco/client.rb', line 78

def id
  @id
end

#levelObject

Returns the value of attribute level.



78
79
80
# File 'lib/coneco/client.rb', line 78

def level
  @level
end

#nameObject

Returns the value of attribute name.



78
79
80
# File 'lib/coneco/client.rb', line 78

def name
  @name
end

#urlObject

Returns the value of attribute url.



78
79
80
# File 'lib/coneco/client.rb', line 78

def url
  @url
end