Class: HyperPay::Base
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
- #interpret_response_code(code) ⇒ Object
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
11 12 13 |
# File 'lib/HyperPay/base.rb', line 11 def initialize self.class.base_uri base_url end |
Instance Method Details
#interpret_response_code(code) ⇒ Object
15 16 17 |
# File 'lib/HyperPay/base.rb', line 15 def interpret_response_code(code) ResponseCodeInterpreter.interpret(code) end |