Class: Flow::Models::Pool
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
Methods inherited from Model
__load_path, __model_name, build, #initialize, load, load_model, #method_missing, #reload, #reload!
Constructor Details
This class inherits a constructor from Flow::Models::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Flow::Models::Model
Instance Method Details
#production? ⇒ Boolean
9 10 11 |
# File 'lib/flow/models/pool.rb', line 9 def production? self.type == 'production' end |
#test? ⇒ Boolean
5 6 7 |
# File 'lib/flow/models/pool.rb', line 5 def test? self.type == 'test' end |