class PlatformAPI::LogSession
A log session is a reference to the http based log stream for an app.
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 2141 def initialize(client) @client = client end
Public Instance Methods
create(app_id_or_app_name, body = {})
click to toggle source
Create a new log session.
@param app_id_or_app_name: unique identifier of app or unique name of app @param body: the object to pass as the request payload
# File lib/platform-api/client.rb, line 2149 def create(app_id_or_app_name, body = {}) @client.log_session.create(app_id_or_app_name, body) end