Class: AppStoreLookup::AppArtist
- Inherits:
-
Object
- Object
- AppStoreLookup::AppArtist
- Defined in:
- lib/app_store_lookup.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ AppArtist
constructor
A new instance of AppArtist.
Constructor Details
#initialize(attributes = {}) ⇒ AppArtist
Returns a new instance of AppArtist.
80 81 82 83 84 |
# File 'lib/app_store_lookup.rb', line 80 def initialize(attributes = {}) @name = attributes[:name] @id = attributes[:id] @url = attributes[:url] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
78 79 80 |
# File 'lib/app_store_lookup.rb', line 78 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
78 79 80 |
# File 'lib/app_store_lookup.rb', line 78 def name @name end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
78 79 80 |
# File 'lib/app_store_lookup.rb', line 78 def url @url end |