Sha256: f64ae20297e56f957e0d6d55ca80568592024a69321b977f8416f2c361a137a3

Contents?: true

Size: 724 Bytes

Versions: 12

Compression:

Stored size: 724 Bytes

Contents

require 'airbrake-api/configuration'

module AirbrakeAPI
  extend Configuration

  class AirbrakeError < StandardError; end

  # Alias for Instapaper::Client.new
  #
  # @return [Instapaper::Client]
  def self.client(options={})
    AirbrakeAPI::Client.new(options)
  end

   # Delegate to Instapaper::Client
  def self.method_missing(method, *args, &block)
    return super unless client.respond_to?(method)
    client.send(method, *args, &block)
  end

  def self.respond_to?(method, include_private = false)
    client.respond_to?(method, include_private) || super(method, include_private)
  end
end

require 'airbrake-api/client'
require 'airbrake-api/error'
require 'airbrake-api/notice'
require 'airbrake-api/project'

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
airbrake-api-4.6.1 lib/airbrake-api.rb
airbrake-api-4.6.0 lib/airbrake-api.rb
airbrake-api-4.5.1 lib/airbrake-api.rb
airbrake-api-4.5.0 lib/airbrake-api.rb
airbrake-api-4.4.0 lib/airbrake-api.rb
airbrake-api-4.3.0 lib/airbrake-api.rb
airbrake-api-4.2.2 lib/airbrake-api.rb
airbrake-api-4.2.1 lib/airbrake-api.rb
airbrake-api-4.2.0 lib/airbrake-api.rb
airbrake-api-4.1.3 lib/airbrake-api.rb
airbrake-api-4.1.2 lib/airbrake-api.rb
airbrake-api-4.1.1 lib/airbrake-api.rb