Module: Bvr
- Extended by:
- Bvr
- Included in:
- Bvr
- Defined in:
- lib/bvr.rb,
lib/bvr/call.rb,
lib/bvr/phone.rb,
lib/bvr/credit.rb,
lib/bvr/version.rb,
lib/bvr/customer.rb,
lib/bvr/connection.rb,
lib/bvr/configuration.rb,
lib/bvr/call_collection.rb,
lib/bvr/phone_collection.rb
Defined Under Namespace
Classes: Call, CallCollection, Configuration, Connection, Credit, Customer, Phone, PhoneCollection
Constant Summary collapse
- VERSION =
"0.1.0"
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#connection ⇒ Object
Returns the value of attribute connection.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
6 7 8 |
# File 'lib/bvr.rb', line 6 def config @config end |
#connection ⇒ Object
Returns the value of attribute connection.
6 7 8 |
# File 'lib/bvr.rb', line 6 def connection @connection end |
Instance Method Details
#configure ⇒ Object
8 9 10 |
# File 'lib/bvr.rb', line 8 def configure @config = Bvr::Configuration.new.tap{ |configuration| yield(configuration) } end |