Class: Naver::Searchad::Api::RelatedKeywordStat::Service

Inherits:
Core::BaseService show all
Defined in:
lib/naver/searchad/api/related-keyword-stat/service.rb

Instance Attribute Summary

Attributes inherited from Core::BaseService

#base_path, #client_options, #request_options, #url

Instance Method Summary collapse

Methods inherited from Core::BaseService

#authorization, #authorization=, #client

Methods included from Core::Logging

#logger

Constructor Details

#initializeService

Returns a new instance of Service.



9
10
11
# File 'lib/naver/searchad/api/related-keyword-stat/service.rb', line 9

def initialize
  super('https://api.naver.com/', '')
end

Instance Method Details

#list_stats(options: nil, &block) ⇒ Object



13
14
15
16
# File 'lib/naver/searchad/api/related-keyword-stat/service.rb', line 13

def list_stats(options: nil, &block)
  command = make_command(:get, 'keywordstool', options)
  execute_command(command, &block)
end