Class: Handsoap::AsyncDispatch
- Inherits:
-
Object
- Object
- Handsoap::AsyncDispatch
- Defined in:
- lib/handsoap/service.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#request_block ⇒ Object
readonly
Returns the value of attribute request_block.
-
#response_block ⇒ Object
readonly
Returns the value of attribute response_block.
Instance Method Summary collapse
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
149 150 151 |
# File 'lib/handsoap/service.rb', line 149 def action @action end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
149 150 151 |
# File 'lib/handsoap/service.rb', line 149 def @options end |
#request_block ⇒ Object (readonly)
Returns the value of attribute request_block.
149 150 151 |
# File 'lib/handsoap/service.rb', line 149 def request_block @request_block end |
#response_block ⇒ Object (readonly)
Returns the value of attribute response_block.
149 150 151 |
# File 'lib/handsoap/service.rb', line 149 def response_block @response_block end |
Instance Method Details
#request(action, options = { :soap_action => :auto }, &block) ⇒ Object
150 151 152 153 154 |
# File 'lib/handsoap/service.rb', line 150 def request(action, = { :soap_action => :auto }, &block) @action = action @options = @request_block = block end |
#response(&block) ⇒ Object
155 156 157 |
# File 'lib/handsoap/service.rb', line 155 def response(&block) @response_block = block end |