Sha256: 2fe11251167d6aca58da940dd405d226f6059dca0f891f4997c28af068a32697

Contents?: true

Size: 708 Bytes

Versions: 1

Compression:

Stored size: 708 Bytes

Contents

require 'uri'
require 'yajl'
require 'rest_client'

if !defined?(Logger)
  require 'logger'
end

# Restful Metrics specific libs
require 'restful_metrics/log_tools'
require 'restful_metrics/connection'
require 'restful_metrics/endpoint'
require 'restful_metrics/client'

# Rails integration
require 'restful_metrics/railtie/cookie_integration'

module RestfulMetrics

  REALM = "https://track.restfulmetrics.com"
  VERSION = File.read(File.join(File.dirname(__FILE__), '..', 'VERSION'))

  class RestfulMetricsError < StandardError; end
  class InsufficentArguments < RestfulMetricsError; end
  class InvalidAPIKey < RestfulMetricsError; end
  class NoConnectionEstablished < RestfulMetricsError; end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restful_metrics-1.1.5 lib/restful_metrics.rb