Class: Oximeter::Configuration::Model
- Inherits:
-
Object
- Object
- Oximeter::Configuration::Model
- Defined in:
- lib/oximeter/configuration/model.rb
Constant Summary collapse
- ATTRIBUTES =
%w( label pull_last period group_field ).freeze
Instance Attribute Summary collapse
-
#entity ⇒ Object
readonly
Returns the value of attribute entity.
-
#setup ⇒ Object
readonly
Returns the value of attribute setup.
Instance Method Summary collapse
-
#initialize(entity) ⇒ Model
constructor
A new instance of Model.
Constructor Details
#initialize(entity) ⇒ Model
Returns a new instance of Model.
13 14 15 16 |
# File 'lib/oximeter/configuration/model.rb', line 13 def initialize(entity) @entity = entity @setup = {} end |
Instance Attribute Details
#entity ⇒ Object (readonly)
Returns the value of attribute entity.
4 5 6 |
# File 'lib/oximeter/configuration/model.rb', line 4 def entity @entity end |
#setup ⇒ Object (readonly)
Returns the value of attribute setup.
4 5 6 |
# File 'lib/oximeter/configuration/model.rb', line 4 def setup @setup end |