Module: Voxbone::Config
- Included in:
- Voxbone
- Defined in:
- lib/voxbone/config.rb
Defined Under Namespace
Classes: ConfigError
Constant Summary collapse
- ENVIRONMENTS =
{ production: 'https://api.voxbone.com/ws-voxbone/services/rest/', sandbox: 'https://sandbox.voxbone.com/ws-voxbone/services/rest/' }.freeze
Instance Attribute Summary collapse
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Instance Attribute Details
#environment ⇒ Object
Returns the value of attribute environment.
3 4 5 |
# File 'lib/voxbone/config.rb', line 3 def environment @environment end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/voxbone/config.rb', line 3 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/voxbone/config.rb', line 3 def username @username end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
12 13 14 |
# File 'lib/voxbone/config.rb', line 12 def configure yield(self) end |