Class: Ap4r::AsyncHelper::Converters::WebService
Instance Method Summary
collapse
Methods inherited from ToRailsBase
#initialize, #queue_name
Methods inherited from Base
dispatch_mode, #initialize, #queue_name
Instance Method Details
#action_api_name ⇒ Object
297
298
299
300
|
# File 'lib/ap4r/async_helper.rb', line 297
def action_api_name
action_method_name = @url_options[:url][:action]
action_method_name.camelcase
end
|
#make_params ⇒ Object
285
286
287
288
289
|
# File 'lib/ap4r/async_helper.rb', line 285
def make_params
message_obj = {}
@async_params.each_pair{|k,v| message_obj[k.to_sym]=v}
message_obj
end
|
#make_rm_options ⇒ Object
291
292
293
294
295
|
# File 'lib/ap4r/async_helper.rb', line 291
def make_rm_options
@rm_options[:target_url] ||= target_url_name
@rm_options[:target_action] ||= action_api_name
@rm_options
end
|
#options_without_action ⇒ Object
302
303
304
|
# File 'lib/ap4r/async_helper.rb', line 302
def options_without_action
@url_options[:url].reject{ |k,v| k == :action }
end
|