Class: Adzerk::Channel

Inherits:
ApiEndpoint show all
Defined in:
lib/adzerk/channel.rb

Instance Attribute Summary

Attributes inherited from ApiEndpoint

#client, #datakey, #endpoint, #subendpoint

Instance Method Summary collapse

Methods inherited from ApiEndpoint

#create, #delete, #get, #initialize, #list, #update

Methods included from Util

#camelize_data, #parse_response, #uncamelize_data

Constructor Details

This class inherits a constructor from Adzerk::ApiEndpoint

Instance Method Details

#get_priorities(channel_id) ⇒ Object



3
4
5
6
7
# File 'lib/adzerk/channel.rb', line 3

def get_priorities(channel_id)
    url = "channel/#{channel_id}/priorities"
    response = client.get_request(url)
    parse_response(response)
end