class YahooGeminiClient::AdvertiserResponse

Attributes

advertiser[RW]
errors[RW]
timestamp[RW]

Public Class Methods

new(json_response) click to toggle source
# File lib/yahoo_gemini_client/responses/advertiser_response.rb, line 5
def initialize(json_response)
  @errors = json_response[:errors]
  @timestamp = json_response[:timestamp]
  @advertiser = Advertiser.new(json_response[:response])
end