Class: SecupayRuby::Requests::Init
- Defined in:
- lib/secupay_ruby/requests/init.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#http_request, #http_response, #initialize, post, #post, #uri
Constructor Details
This class inherits a constructor from SecupayRuby::Requests::Base
Instance Method Details
#defaults ⇒ Object
4 5 6 7 8 9 |
# File 'lib/secupay_ruby/requests/init.rb', line 4 def defaults super.merge( url_success: SecupayRuby.config.url_success, url_failure: SecupayRuby.config.url_failure, url_push: SecupayRuby.config.url_push) end |
#path ⇒ Object
11 12 13 |
# File 'lib/secupay_ruby/requests/init.rb', line 11 def path @path ||= %w(payment init).join("/") end |