Sha256: 3018d992f7fd24fc15d82edcb74320c5820f697dc06b7569e4ae0092e2425634

Contents?: true

Size: 464 Bytes

Versions: 13

Compression:

Stored size: 464 Bytes

Contents

require 'raven/interfaces'

module Raven
  class HttpInterface < Interface
    name 'request'
    attr_accessor :url
    attr_accessor :method
    attr_accessor :data
    attr_accessor :query_string
    attr_accessor :cookies
    attr_accessor :headers
    attr_accessor :env

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

  register_interface :http => HttpInterface
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sentry-raven-2.0.2 lib/raven/interfaces/http.rb
sentry-raven-2.0.1 lib/raven/interfaces/http.rb
sentry-raven-2.0.0 lib/raven/interfaces/http.rb
sentry-raven-1.2.3 lib/raven/interfaces/http.rb
sentry-raven-1.2.2 lib/raven/interfaces/http.rb
sentry-raven-1.2.1 lib/raven/interfaces/http.rb
sentry-raven-1.2.0 lib/raven/interfaces/http.rb
sentry-raven-1.1.0 lib/raven/interfaces/http.rb
sentry-raven-1.0.0 lib/raven/interfaces/http.rb
sentry-raven-0.15.6 lib/raven/interfaces/http.rb
sentry-raven-0.15.5 lib/raven/interfaces/http.rb
sentry-raven-0.15.4 lib/raven/interfaces/http.rb
sentry-raven-0.15.3 lib/raven/interfaces/http.rb