Sha256: 512b2c7ae945a5c0500f43320791ee49a3dcd5cce0c36f4ff8e45160744116eb

Contents?: true

Size: 520 Bytes

Versions: 1

Compression:

Stored size: 520 Bytes

Contents

require 'virtus'
require 'new_relic/rest_api/version'
require 'new_relic/rest_api/config'
require 'new_relic/rest_api/connection'
require 'new_relic/rest_api/resource'
require 'new_relic/rest_api/response_collection'
require 'new_relic/rest_api/application'

module NewRelic
  module RestApi
    def self.config
      @config ||= NewRelic::RestApi::Config.new

      yield(@config) if block_given?

      @config
    end

    def self.connection
      @connection ||= NewRelic::RestApi::Connection.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
new_relic-rest_api-0.1.0 lib/new_relic/rest_api.rb