Module: WebToPay
- Defined in:
- lib/webtopay.rb,
lib/webtopay/exception.rb,
lib/webtopay/configuration.rb
Defined Under Namespace
Classes: Configuration, Exception, Payment, Response
Constant Summary collapse
- API_VERSION =
'1.6'
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.
12 13 14 |
# File 'lib/webtopay.rb', line 12 def config @config end |
Class Method Details
.configure {|config| ... } ⇒ Object
14 15 16 17 |
# File 'lib/webtopay.rb', line 14 def configure self.config ||= Configuration.new yield(config) end |