Sha256: 747d66ad07e760e0a5c979c96be46c140a5d9465566a2aabba2ec32fa31ebca1

Contents?: true

Size: 1007 Bytes

Versions: 3

Compression:

Stored size: 1007 Bytes

Contents

require 'json'
require 'mime/types'
require 'active_model'
require 'active_support/all'
require 'rollbar'
require 'tilt/jbuilder'
require 'rest_client/jogger/version'
require 'rest_client/jogger/configuration'
require 'rest_client/jogger/event_subscriber'
require 'rest_client/jogger/action'
require 'rest_client/jogger/request'
require 'rest_client/jogger/response'
require 'rest_client/jogger/filters/base'
require 'rest_client/jogger/filters/json'
require 'rest_client/jogger/filters/xml'
require 'rest_client/core_ext/logged_request'

module RestClient
  class Request
    extend LoggedRequest
  end
  
  module Jogger
    ROOT_PATH = File.expand_path(File.dirname(__FILE__)).freeze

    class << self
      Configuration::ATTRIBUTES.each do |attribute|
        delegate attribute, to: :configuration
      end

      attr_writer :configuration

      def configuration
        @configuration ||= Configuration.new
      end

      def configure
        yield(configuration)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rest-client-jogger-1.1.0 lib/rest_client/jogger.rb
rest-client-jogger-1.0.1 lib/rest_client/jogger.rb
rest-client-jogger-1.0.0 lib/rest_client/jogger.rb