Class: Landline::ProcessorOrigin

Inherits:
Object
  • Object
show all
Defined in:
lib/landline/sandbox.rb

Overview

Ephemeral proxy class to which callback execution binds

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request, properties) ⇒ ProcessorOrigin

Returns a new instance of ProcessorOrigin.



24
25
26
27
# File 'lib/landline/sandbox.rb', line 24

def initialize(request, properties)
  @request = request
  @properties = Landline::Util::LookupROProxy.new(properties)
end

Instance Attribute Details

#propertiesObject (readonly)

Returns the value of attribute properties.



30
31
32
# File 'lib/landline/sandbox.rb', line 30

def properties
  @properties
end

#requestObject (readonly)

Returns the value of attribute request.



30
31
32
# File 'lib/landline/sandbox.rb', line 30

def request
  @request
end

#responseObject

Returns the value of attribute response.



29
30
31
# File 'lib/landline/sandbox.rb', line 29

def response
  @response
end