Sha256: 36d250b99f838eac579775e0a77d0461e4c7af2db5351a0da4b1985c4f379c75

Contents?: true

Size: 320 Bytes

Versions: 26

Compression:

Stored size: 320 Bytes

Contents

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

26 entries across 26 versions & 3 rubygems

Version Path
sentry-raven-2.7.4 lib/raven/interfaces/http.rb
sentry-raven-2.7.3 lib/raven/interfaces/http.rb
jones-gem-2.7.2 lib/raven/interfaces/http.rb
alec-gem-2.7.2 lib/raven/interfaces/http.rb
sentry-raven-2.7.2 lib/raven/interfaces/http.rb
sentry-raven-2.7.1 lib/raven/interfaces/http.rb