Sha256: ba75167dbe621da13b9bf9cc2dd14fc199501055f35e41021f855c598d499ec4

Contents?: true

Size: 324 Bytes

Versions: 41

Compression:

Stored size: 324 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/#{app}/logs",
        :query    => options
      )
    end

  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
heroku-api-0.2.1 lib/heroku/api/logs.rb