Method: StarkInfra::PixRequest::Log.get
- Defined in:
- lib/pixrequest/log.rb
.get(id, user: nil) ⇒ Object
# Retrieve a specific Log
Receive a single Log object previously created by the Stark Infra API by passing its id
## Parameters (required):
-
id [string]: object unique id. ex: ‘5656565656565656’
## Parameters (optional):
-
user [Organization/Project object]: Organization or Project object. Not necessary if StarkInfra.user was set before function call
## Return:
-
Log object with updated attributes
44 45 46 |
# File 'lib/pixrequest/log.rb', line 44 def self.get(id, user: nil) StarkInfra::Utils::Rest.get_id(id: id, user: user, **resource) end |