Sha256: 0fc44e36ef9633a350c4a3bfa535c0043039197e9e9ce846c00d5854f86d9f8b
Contents?: true
Size: 646 Bytes
Versions: 20
Compression:
Stored size: 646 Bytes
Contents
class Shelly::Client def application_logs(cloud, options = {}) get("/apps/#{cloud}/application_logs#{query(options)}") end def application_logs_tail(cloud) url = get("/apps/#{cloud}/application_logs/tail")["url"] options = { :url => url, :method => :get, :timeout => 60 * 60 * 24, :block_response => Proc.new { |r| r.read_body { |c| yield(c) } } }.merge(http_basic_auth_options) RestClient::Request.execute(options) end def download_application_logs_attributes(code_name, options) get("/apps/#{code_name}/application_logs/download#{query(options)}") end end
Version data entries
20 entries across 20 versions & 1 rubygems