Class: Appsignal::Transaction::GenericRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/appsignal/transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(env) ⇒ GenericRequest

Returns a new instance of GenericRequest.


386
387
388
# File 'lib/appsignal/transaction.rb', line 386

def initialize(env)
  @env = env
end

Instance Attribute Details

#envObject (readonly)

Returns the value of attribute env


384
385
386
# File 'lib/appsignal/transaction.rb', line 384

def env
  @env
end

Instance Method Details

#paramsObject


390
391
392
# File 'lib/appsignal/transaction.rb', line 390

def params
  env[:params]
end