Class: CityGrid::API::Advertising::Performance
- Inherits:
-
CityGrid::API::Advertising
- Object
- CityGrid::API
- CityGrid::API::Advertising
- CityGrid::API::Advertising::Performance
- Defined in:
- lib/citygrid/api/advertising/performance.rb
Constant Summary
Constants inherited from CityGrid::API
CityGrid::API::AdCenter, DEFAULT_ACTION_OPTIONS, DEFAULT_HEADERS
Class Method Summary collapse
Methods inherited from CityGrid::API
define_action, endpoint, newendpoint, request
Methods included from CityGridExceptions
Class Method Details
.summary(type, options = {}) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/citygrid/api/advertising/performance.rb', line 6 def summary type, = {} token = extract_auth_token request_and_handle :post, "#{endpoint}/#{type}", :body => .to_json, :headers => merge_headers("authToken" => token) end |