Class: Raven::HttpInterface
- Includes:
- RackInterface
- Defined in:
- lib/raven/interfaces/http.rb,
lib/raven/integrations/rack.rb
Instance Attribute Summary collapse
-
#cookies ⇒ Object
Returns the value of attribute cookies.
-
#data ⇒ Object
Returns the value of attribute data.
-
#env ⇒ Object
Returns the value of attribute env.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#method ⇒ Object
Returns the value of attribute method.
-
#query_string ⇒ Object
Returns the value of attribute query_string.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*arguments) ⇒ HttpInterface
constructor
A new instance of HttpInterface.
Methods included from RackInterface
Methods inherited from Interface
inherited, registered, #to_hash
Constructor Details
#initialize(*arguments) ⇒ HttpInterface
Returns a new instance of HttpInterface.
7 8 9 10 11 12 |
# File 'lib/raven/interfaces/http.rb', line 7 def initialize(*arguments) self.headers = {} self.env = {} self. = nil super(*arguments) end |
Instance Attribute Details
#cookies ⇒ Object
Returns the value of attribute cookies.
5 6 7 |
# File 'lib/raven/interfaces/http.rb', line 5 def @cookies end |
#data ⇒ Object
Returns the value of attribute data.
5 6 7 |
# File 'lib/raven/interfaces/http.rb', line 5 def data @data end |
#env ⇒ Object
Returns the value of attribute env.
5 6 7 |
# File 'lib/raven/interfaces/http.rb', line 5 def env @env end |
#headers ⇒ Object
Returns the value of attribute headers.
5 6 7 |
# File 'lib/raven/interfaces/http.rb', line 5 def headers @headers end |
#method ⇒ Object
Returns the value of attribute method.
5 6 7 |
# File 'lib/raven/interfaces/http.rb', line 5 def method @method end |
#query_string ⇒ Object
Returns the value of attribute query_string.
5 6 7 |
# File 'lib/raven/interfaces/http.rb', line 5 def query_string @query_string end |
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/raven/interfaces/http.rb', line 5 def url @url end |
Class Method Details
.sentry_alias ⇒ Object
14 15 16 |
# File 'lib/raven/interfaces/http.rb', line 14 def self.sentry_alias :request end |