Class: HasOffersV3::RawLog

Inherits:
Base
  • Object
show all
Defined in:
lib/hasoffersv3/raw_log.rb

Instance Method Summary collapse

Methods inherited from Base

#client, client, #get_request, #initialize, #make_request, method_missing, #post_request, #requires!, #target, target

Constructor Details

This class inherits a constructor from HasOffersV3::Base

Instance Method Details



3
4
5
6
# File 'lib/hasoffersv3/raw_log.rb', line 3

def get_download_link(params = {})
  requires! params, [:log_type, :log_filename]
  get_request 'getDownloadLink', params
end

#get_log_expirationsObject



8
9
10
# File 'lib/hasoffersv3/raw_log.rb', line 8

def get_log_expirations
  get_request 'getLogExpirations'
end

#list_date_dirs(params = {}) ⇒ Object



12
13
14
15
# File 'lib/hasoffersv3/raw_log.rb', line 12

def list_date_dirs(params = {})
  requires! params, [:log_type]
  get_request 'listDateDirs', params
end

#list_logs(params = {}) ⇒ Object



17
18
19
20
# File 'lib/hasoffersv3/raw_log.rb', line 17

def list_logs(params = {})
  requires! params, [:log_type, :date_dir]
  get_request 'listLogs', params
end