Class: Sqewer::Contrib::AppsignalWrapper::FakeRequest
- Inherits:
-
Struct
- Object
- Struct
- Sqewer::Contrib::AppsignalWrapper::FakeRequest
- Defined in:
- lib/sqewer/extensions/appsignal_wrapper.rb
Overview
Acts as a replacement for Appsignal::GenericRequest
Instance Attribute Summary collapse
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
- #env ⇒ Object
-
#initialize ⇒ FakeRequest
constructor
A new instance of FakeRequest.
Constructor Details
#initialize ⇒ FakeRequest
Returns a new instance of FakeRequest.
20 |
# File 'lib/sqewer/extensions/appsignal_wrapper.rb', line 20 def initialize; super({}); end |
Instance Attribute Details
#params ⇒ Object
Returns the value of attribute params
19 20 21 |
# File 'lib/sqewer/extensions/appsignal_wrapper.rb', line 19 def params @params end |
Instance Method Details
#env ⇒ Object
21 |
# File 'lib/sqewer/extensions/appsignal_wrapper.rb', line 21 def env; {params: self.params}; end |