Class: Forecasting::Models::Account
- Defined in:
- lib/forecasting/models/account.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
attributed, #initialize, modeled, #to_hash
Constructor Details
This class inherits a constructor from Forecasting::Models::Base
Instance Method Details
#color_labels ⇒ Object
13 14 15 16 17 |
# File 'lib/forecasting/models/account.rb', line 13 def color_labels attributes["color_labels"].map do |entry| ColorLabel.new(entry) end end |