Module: BS2
- Extended by:
- Forwardable
- Defined in:
- lib/bs2.rb,
lib/bs2/version.rb
Defined Under Namespace
Classes: Configuration, Connection
Constant Summary collapse
- ENV_URL =
{ sandbox: "https://apihmz.bancobonsucesso.com.br", production: "https://api.bs2.com" }
- VERSION =
"0.3.2"
Class Attribute Summary collapse
-
.configuration ⇒ Object
readonly
Configuration.
-
.connection ⇒ Object
readonly
Connection.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Configuration
21 22 23 |
# File 'lib/bs2.rb', line 21 def configuration @configuration ||= Configuration.new end |
.connection ⇒ Object
Connection
30 31 32 |
# File 'lib/bs2.rb', line 30 def connection @connection ||= Connection.new end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
25 26 27 |
# File 'lib/bs2.rb', line 25 def configure yield(configuration) end |