class YahooGeminiClient::CustomReport

Public Class Methods

new(opts={}) click to toggle source
# File lib/yahoo_gemini_client/services/custom_report.rb, line 3
def initialize(opts={})
  @client = opts[:client]
end

Public Instance Methods

create(request_body) click to toggle source
# File lib/yahoo_gemini_client/services/custom_report.rb, line 7
def create(request_body)
  CustomReportJobRequest.new(request_body: request_body, client: @client).
    execute
end
find(params) click to toggle source
# File lib/yahoo_gemini_client/services/custom_report.rb, line 12
def find(params)
  CustomReportCheckJobRequest.new(params.merge(client: @client)).execute
end