Class: AppStoreLookup::AppRating
- Inherits:
-
Object
- Object
- AppStoreLookup::AppRating
- Defined in:
- lib/app_store_lookup.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#rating ⇒ Object
readonly
Returns the value of attribute rating.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ AppRating
constructor
A new instance of AppRating.
Constructor Details
#initialize(attributes = {}) ⇒ AppRating
Returns a new instance of AppRating.
99 100 101 102 |
# File 'lib/app_store_lookup.rb', line 99 def initialize(attributes = {}) @count = attributes[:count] = attributes[:rating] end |
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count.
97 98 99 |
# File 'lib/app_store_lookup.rb', line 97 def count @count end |
#rating ⇒ Object (readonly)
Returns the value of attribute rating.
97 98 99 |
# File 'lib/app_store_lookup.rb', line 97 def end |