Method: Forecasting::Models::Base#to_hash

Defined in:
lib/forecasting/models/base.rb

#to_hashHash

It returns keys and values for all the attributes of this record.

Returns:

  • (Hash)


19
20
21
# File 'lib/forecasting/models/base.rb', line 19

def to_hash
  @attributes
end