Module: Payhere
- Defined in:
- lib/payhere-sdk/config.rb,
lib/payhere-sdk.rb,
lib/payhere-sdk/client.rb,
lib/payhere-sdk/errors.rb,
lib/payhere-sdk/version.rb,
lib/payhere-sdk/validate.rb,
lib/payhere-sdk/inpayments.rb,
lib/payhere-sdk/outpayments.rb
Overview
Error handling for unsuccessful responses from Payhere API
Defined Under Namespace
Classes: Client, Config, Error, Inpayments, Outpayments, Validate, ValidationError
Constant Summary collapse
- VERSION =
'1.0.0'
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
10 11 12 |
# File 'lib/payhere-sdk.rb', line 10 def config @config end |
Class Method Details
.configure {|config| ... } ⇒ Object
21 22 23 |
# File 'lib/payhere-sdk.rb', line 21 def self.configure yield(config) end |
.reset ⇒ Object
17 18 19 |
# File 'lib/payhere-sdk.rb', line 17 def self.reset @config = Config.new end |