Class: AppStoreLookup::AppArtist

Inherits:
Object
  • Object
show all
Defined in:
lib/app_store_lookup.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject (readonly)

Returns the value of attribute id.



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

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#urlObject (readonly)

Returns the value of attribute url.



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

def url
  @url
end