Sha256: 2f971fc3696d210dcf4f2c90a2a04c54a4784f395885ac84224b48cd4db3a01e

Contents?: true

Size: 347 Bytes

Versions: 17

Compression:

Stored size: 347 Bytes

Contents

require 'raven/interface'

module Raven
  class HttpInterface < Interface
    attr_accessor :url, :method, :data, :query_string, :cookies, :headers, :env

    def initialize(*arguments)
      self.headers = {}
      self.env = {}
      self.cookies = nil
      super(*arguments)
    end

    def self.sentry_alias
      :request
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
sentry-raven-2.6.3 lib/raven/interfaces/http.rb
sentry-raven-2.6.2 lib/raven/interfaces/http.rb
sentry-raven-2.6.1 lib/raven/interfaces/http.rb
sentry-raven-2.6.0 lib/raven/interfaces/http.rb
sentry-raven-2.5.3 lib/raven/interfaces/http.rb
sentry-raven-2.5.2 lib/raven/interfaces/http.rb
sentry-raven-2.5.1 lib/raven/interfaces/http.rb
sentry-raven-2.5.0 lib/raven/interfaces/http.rb
sentry-raven-2.4.0 lib/raven/interfaces/http.rb
sentry-raven-2.3.1 lib/raven/interfaces/http.rb
sentry-raven-2.3.0 lib/raven/interfaces/http.rb
sentry-raven-2.2.0 lib/raven/interfaces/http.rb
sentry-raven-2.1.4 lib/raven/interfaces/http.rb
sentry-raven-2.1.3 lib/raven/interfaces/http.rb
sentry-raven-2.1.2 lib/raven/interfaces/http.rb
sentry-raven-2.1.1 lib/raven/interfaces/http.rb
sentry-raven-2.1.0 lib/raven/interfaces/http.rb