Class: HasOffersV3::RawLog
- Inherits:
-
Base
- Object
- Base
- HasOffersV3::RawLog
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
Instance Method Details
#get_download_link(params = {}) ⇒ Object
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_expirations ⇒ Object
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
|