Module: DeviceDBComms
- Defined in:
- lib/devicedb_comms.rb,
lib/devicedb_comms/hive.rb,
lib/devicedb_comms/queue.rb,
lib/devicedb_comms/device.rb,
lib/devicedb_comms/shared.rb,
lib/devicedb_comms/version.rb,
lib/devicedb_comms/configuration.rb
Defined Under Namespace
Classes: Configuration, Device, Hive, Queue, Shared
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
-
.configuration ⇒ Object
For backward compatibility TODO Remove this as the configure method must be called.
-
.configure {|configuration| ... } ⇒ Object
TODO Add this accessor when the configuration method is removed attr_accessor :configuration.
Class Method Details
.configuration ⇒ Object
For backward compatibility TODO Remove this as the configure method must be called
22 23 24 |
# File 'lib/devicedb_comms.rb', line 22 def configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
TODO Add this accessor when the configuration method is removed attr_accessor :configuration
13 14 15 16 17 18 |
# File 'lib/devicedb_comms.rb', line 13 def configure # TODO Possibly change to this when configuration method removed #self.configuration = Configuration.new @configuration = Configuration.new yield(configuration) end |