Module: Rpx
- Extended by:
- Rpx
- Included in:
- Rpx
- Defined in:
- lib/rpx.rb,
lib/rpx/lease.rb,
lib/rpx/client.rb,
lib/rpx/version.rb,
lib/rpx/resident.rb,
lib/rpx/configuration.rb,
lib/rpx/resident_with_lease.rb
Defined Under Namespace
Classes: Client, Configuration, Lease, Resident, ResidentWithLease
Constant Summary collapse
- VERSION =
"0.0.2"
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
8 9 10 |
# File 'lib/rpx.rb', line 8 def config @config end |
Instance Method Details
#configure ⇒ Object
10 11 12 |
# File 'lib/rpx.rb', line 10 def configure @config = Configuration.new.tap{ |configuration| yield(configuration) } end |