Class: Appsignal::Transaction::GenericRequest
- Defined in:
- lib/appsignal/transaction.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
-
#initialize(env) ⇒ GenericRequest
constructor
A new instance of GenericRequest.
- #params ⇒ Object
Constructor Details
#initialize(env) ⇒ GenericRequest
Returns a new instance of GenericRequest.
328 329 330 |
# File 'lib/appsignal/transaction.rb', line 328 def initialize(env) @env = env end |
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
326 327 328 |
# File 'lib/appsignal/transaction.rb', line 326 def env @env end |
Instance Method Details
#params ⇒ Object
332 333 334 |
# File 'lib/appsignal/transaction.rb', line 332 def params env[:params] end |