Class: Coneco::Rating

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) ⇒ Rating

Returns a new instance of Rating.



145
146
147
# File 'lib/coneco/client.rb', line 145

def initialize(h)
  populate(h)
end

Instance Attribute Details

#ratingObject

Returns the value of attribute rating.



144
145
146
# File 'lib/coneco/client.rb', line 144

def rating
  @rating
end

#titleObject

Returns the value of attribute title.



144
145
146
# File 'lib/coneco/client.rb', line 144

def title
  @title
end