Class: Modesty::Datastore
- Inherits:
-
Object
- Object
- Modesty::Datastore
- Defined in:
- lib/modesty/datastore.rb
Direct Known Subclasses
Defined Under Namespace
Classes: ConnectionError, ExperimentData, MetricData
Instance Attribute Summary collapse
-
#store ⇒ Object
readonly
Returns the value of attribute store.
Instance Method Summary collapse
Instance Attribute Details
#store ⇒ Object (readonly)
Returns the value of attribute store.
11 12 13 |
# File 'lib/modesty/datastore.rb', line 11 def store @store end |
Instance Method Details
#connected? ⇒ Boolean
4 5 6 7 8 9 |
# File 'lib/modesty/datastore.rb', line 4 def connected? self.ping! true rescue ConnectionError false end |