Class: Zillabyte::API::Logs
Instance Method Summary collapse
-
#get(flow_id, operation_id, options = {}) ⇒ Object
GET /flows/ID/logs.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Zillabyte::API::Base
Instance Method Details
#get(flow_id, operation_id, options = {}) ⇒ Object
GET /flows/ID/logs
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/zillabyte/api/logs.rb', line 8 def get(flow_id, operation_id, = {}) = { }.merge() since = "" if [:since] since = "?since=#{URI::encode([:since])}" end res = @api.request( :expects => 200, :method => :get, :path => "/flows/#{flow_id}/logs/#{operation_id}#{since}" ) res.body end |