Class: Lago::Api::Resources::ApiLog
- Inherits:
-
Base
- Object
- Base
- Lago::Api::Resources::ApiLog
show all
- Defined in:
- lib/lago/api/resources/api_log.rb
Instance Attribute Summary
Attributes inherited from Base
#client
Instance Method Summary
collapse
Methods inherited from Base
#create, #destroy, #get, #get_all, #initialize, #update
Instance Method Details
#api_resource ⇒ Object
11
12
13
|
# File 'lib/lago/api/resources/api_log.rb', line 11
def api_resource
'api_logs'
end
|
#root_name ⇒ Object
15
16
17
|
# File 'lib/lago/api/resources/api_log.rb', line 15
def root_name
'api_log'
end
|
#whitelist_params(params) ⇒ Object
19
20
21
22
23
24
25
|
# File 'lib/lago/api/resources/api_log.rb', line 19
def whitelist_params(params)
{
root_name => {
api_log: params[:request_id],
},
}
end
|