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.
393 394 395 |
# File 'lib/appsignal/transaction.rb', line 393 def initialize(env) @env = env end |
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
391 392 393 |
# File 'lib/appsignal/transaction.rb', line 391 def env @env end |
Instance Method Details
#params ⇒ Object
397 398 399 |
# File 'lib/appsignal/transaction.rb', line 397 def params env[:params] end |