Class: Croudia::TrendResults
- Includes:
- Creatable
- Defined in:
- lib/croudia/trend_results.rb
Instance Method Summary collapse
Methods included from Creatable
Methods inherited from Base
#[], attr_object_reader, attr_reader, #attrs, #initialize, #inspect
Constructor Details
This class inherits a constructor from Croudia::Base
Instance Method Details
#as_of ⇒ Time
20 21 22 |
# File 'lib/croudia/trend_results.rb', line 20 def as_of @as_of ||= Time.parse(@attrs['as_of']) end |