Class: Zillabyte::API::Logs
Instance Method Summary collapse
-
#get(app_id, operation_id, options = {}, &block) ⇒ Object
GET /flows/ID/logs.
- #get_startup(app_id, operation_id, options = {}, &block) ⇒ Object
Methods inherited from Base
Constructor Details
This class inherits a constructor from Zillabyte::API::Base
Instance Method Details
#get(app_id, operation_id, options = {}, &block) ⇒ Object
GET /flows/ID/logs
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/zillabyte/api/logs.rb', line 7 def get(app_id, operation_id, = {}, &block) = { }.merge() res = @api.request({ :expects => 200, :method => :get, :path => "/flows/#{app_id}/logs", :body => .to_json }, &block) res.body end |
#get_startup(app_id, operation_id, options = {}, &block) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/zillabyte/api/logs.rb', line 25 def get_startup(app_id, operation_id, = {}, &block) = { }.merge() res = @api.request({ :expects => 200, :method => :get, :path => "/flows/#{app_id}/logs/#{operation_id}/startup", :body => .to_json }, &block) res.body end |