Class: Handsoap::AsyncDispatch

Inherits:
Object
  • Object
show all
Defined in:
lib/handsoap/service.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) action (readonly)

Returns the value of attribute action



136
137
138
# File 'lib/handsoap/service.rb', line 136

def action
  @action
end

- (Object) options (readonly)

Returns the value of attribute options



136
137
138
# File 'lib/handsoap/service.rb', line 136

def options
  @options
end

- (Object) request_block (readonly)

Returns the value of attribute request_block



136
137
138
# File 'lib/handsoap/service.rb', line 136

def request_block
  @request_block
end

- (Object) response_block (readonly)

Returns the value of attribute response_block



136
137
138
# File 'lib/handsoap/service.rb', line 136

def response_block
  @response_block
end

Instance Method Details

- (Object) request(action, options = { :soap_action => :auto }, &block)



137
138
139
140
141
# File 'lib/handsoap/service.rb', line 137

def request(action, options = { :soap_action => :auto }, &block)
  @action = action
  @options = options
  @request_block = block
end

- (Object) response(&block)



142
143
144
# File 'lib/handsoap/service.rb', line 142

def response(&block)
  @response_block = block
end