class YahooGeminiClient::AdGroupResponse

Attributes

ad_group[RW]
errors[RW]
timestamp[RW]

Public Class Methods

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