Class: Ap4r::AsyncHelper::Converters::Http

Inherits:
ToRailsBase show all
Defined in:
lib/ap4r/async_helper.rb

Instance Method Summary collapse

Methods inherited from ToRailsBase

#initialize, #queue_name

Methods inherited from Base

dispatch_mode, #initialize, #queue_name

Constructor Details

This class inherits a constructor from Ap4r::AsyncHelper::Converters::ToRailsBase

Instance Method Details

#make_paramsObject



272
273
274
# File 'lib/ap4r/async_helper.rb', line 272

def make_params
  @async_params
end

#make_rm_optionsObject



276
277
278
279
280
281
# File 'lib/ap4r/async_helper.rb', line 276

def make_rm_options
  @rm_options[:target_url] ||= url_for(@url_options[:url])
  @rm_options[:target_method] ||= 'POST'
  #TODO: make option key to specify HTTP headers, 2006/10/16 shino
  @rm_options
end