Sha256: 002d173fe947cf7c4c61abe861446d50c449858e317405e0e924c12a59d044bc

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

module Heroku
  class API

    # GET /apps/:app/logs
    def get_logs(app, options = {})
      options = {
        'logplex' => 'true'
      }.merge(options)
      request(
        :expects  => 200,
        :method   => :get,
        :path     => "/apps/#{escape app}/logs",
        :query    => options
      )
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pogoapp-api-0.3.8 lib/heroku/api/logs.rb