Class: Adzerk::Priority
- Inherits:
-
ApiEndpoint
- Object
- ApiEndpoint
- Adzerk::Priority
- Defined in:
- lib/adzerk/priority.rb
Instance Attribute Summary
Attributes inherited from ApiEndpoint
#client, #datakey, #endpoint, #subendpoint
Instance Method Summary collapse
Methods inherited from ApiEndpoint
#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
#create(opts = {}) ⇒ Object
3 4 5 6 |
# File 'lib/adzerk/priority.rb', line 3 def create(opts={}) opts[:selection_algorithm] ||= 0 # SelectionAlgorithm defaults to 0 (Lottery) super opts end |