Module: WebToPay
- Defined in:
- lib/webtopay.rb,
lib/webtopay/api.rb,
lib/webtopay/exception.rb,
lib/webtopay/configuration.rb
Defined Under Namespace
Classes: Api, Configuration, Exception
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.
9 10 11 |
# File 'lib/webtopay.rb', line 9 def config @config end |
Class Method Details
.configure {|config| ... } ⇒ Object
11 12 13 14 |
# File 'lib/webtopay.rb', line 11 def configure self.config ||= Configuration.new yield(config) end |