Class: RoviAPI::Services::Data
Instance Attribute Summary
#client
Instance Method Summary
collapse
#initialize
Instance Method Details
#album ⇒ Object
8
9
10
|
# File 'lib/rovi_api/services/data.rb', line 8
def album
@album ||= Endpoints::Album.new(self)
end
|
#get(endpoint, method, params = {}) ⇒ Object
4
5
6
|
# File 'lib/rovi_api/services/data.rb', line 4
def get(endpoint, method, params={})
@client.get(:data, :"v1.1", endpoint, method, params)
end
|
#name ⇒ Object
12
13
14
|
# File 'lib/rovi_api/services/data.rb', line 12
def name
@name ||= Endpoints::Name.new(self)
end
|
#song ⇒ Object
16
17
18
|
# File 'lib/rovi_api/services/data.rb', line 16
def song
@song ||= Endpoints::Song.new(self)
end
|