Class: SnapDeploy::Provider::Heroku::API::LogSession
- Inherits:
-
Object
- Object
- SnapDeploy::Provider::Heroku::API::LogSession
- Defined in:
- lib/snap_deploy/provider/heroku/api.rb
Overview
A log session is a reference to the http based log stream for an app.
Instance Method Summary collapse
-
#create(app_id_or_app_name, body) ⇒ Object
Create a new log session.
-
#initialize(client) ⇒ LogSession
constructor
A new instance of LogSession.
Constructor Details
#initialize(client) ⇒ LogSession
Returns a new instance of LogSession.
1015 1016 1017 |
# File 'lib/snap_deploy/provider/heroku/api.rb', line 1015 def initialize(client) @client = client end |
Instance Method Details
#create(app_id_or_app_name, body) ⇒ Object
Create a new log session.
1023 1024 1025 |
# File 'lib/snap_deploy/provider/heroku/api.rb', line 1023 def create(app_id_or_app_name, body) @client.log_session.create(app_id_or_app_name, body) end |