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.



328
329
330
# File 'lib/appsignal/transaction.rb', line 328

def initialize(env)
  @env = env
end

Instance Attribute Details

#envObject (readonly)

Returns the value of attribute env.



326
327
328
# File 'lib/appsignal/transaction.rb', line 326

def env
  @env
end

Instance Method Details

#paramsObject



332
333
334
# File 'lib/appsignal/transaction.rb', line 332

def params
  env[:params]
end