Module: Remit::GetPipeline
- Included in:
- API
- Defined in:
- lib/remit/get_pipeline.rb
Defined Under Namespace
Modules: UsageLimits, ValidityPeriod Classes: EditTokenPipeline, MultiUsePipeline, Pipeline, PostpaidPipeline, PrepaidPipeline, RecipientPipeline, RecurringUsePipeline, SenderPipeline, SingleUsePipeline
Instance Method Summary collapse
- #get_edit_token_pipeline(options) ⇒ Object
- #get_multi_use_pipeline(options) ⇒ Object
- #get_pipeline(pipeline_subclass, options) ⇒ Object
- #get_postpaid_pipeline(options) ⇒ Object
- #get_prepaid_pipeline(options) ⇒ Object
- #get_recipient_pipeline(options) ⇒ Object
- #get_recurring_use_pipeline(options) ⇒ Object
- #get_single_use_pipeline(options) ⇒ Object
Instance Method Details
#get_edit_token_pipeline(options) ⇒ Object
271 272 273 |
# File 'lib/remit/get_pipeline.rb', line 271 def get_edit_token_pipeline() get_pipeline(Remit::GetPipeline::EditTokenPipeline, ) end |
#get_multi_use_pipeline(options) ⇒ Object
256 257 258 |
# File 'lib/remit/get_pipeline.rb', line 256 def get_multi_use_pipeline() get_pipeline(Remit::GetPipeline::MultiUsePipeline, ) end |
#get_pipeline(pipeline_subclass, options) ⇒ Object
275 276 277 278 279 280 281 282 283 284 |
# File 'lib/remit/get_pipeline.rb', line 275 def get_pipeline(pipeline_subclass, ) # TODO: How does @pipeline_url work here? # instance variable is setup in initializer of class. pipeline_subclass.new(self, @pipeline_url, { :caller_key => @access_key, :signature_version=>Remit::API::SIGNATURE_VERSION, :signature_method=>Remit::API::SIGNATURE_METHOD, :version=>Remit::API::PIPELINE_VERSION }.merge()) end |
#get_postpaid_pipeline(options) ⇒ Object
265 266 267 |
# File 'lib/remit/get_pipeline.rb', line 265 def get_postpaid_pipeline() get_pipeline(Remit::GetPipeline::PostpaidPipeline, ) end |
#get_prepaid_pipeline(options) ⇒ Object
268 269 270 |
# File 'lib/remit/get_pipeline.rb', line 268 def get_prepaid_pipeline() get_pipeline(Remit::GetPipeline::PrepaidPipeline, ) end |
#get_recipient_pipeline(options) ⇒ Object
259 260 261 |
# File 'lib/remit/get_pipeline.rb', line 259 def get_recipient_pipeline() get_pipeline(Remit::GetPipeline::RecipientPipeline, ) end |
#get_recurring_use_pipeline(options) ⇒ Object
262 263 264 |
# File 'lib/remit/get_pipeline.rb', line 262 def get_recurring_use_pipeline() get_pipeline(Remit::GetPipeline::RecurringUsePipeline, ) end |
#get_single_use_pipeline(options) ⇒ Object
253 254 255 |
# File 'lib/remit/get_pipeline.rb', line 253 def get_single_use_pipeline() get_pipeline(Remit::GetPipeline::SingleUsePipeline, ) end |