Class: Hive::Activity
- Inherits:
-
Hashie::Trash
- Object
- Hashie::Trash
- Hive::Activity
- Includes:
- Hashie::Extensions::Coercion, Hashie::Extensions::IgnoreUndeclared
- Defined in:
- lib/hive/activity.rb
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ Activity
constructor
A new instance of Activity.
Constructor Details
#initialize(hash = {}) ⇒ Activity
Returns a new instance of Activity.
46 47 48 49 |
# File 'lib/hive/activity.rb', line 46 def initialize(hash = {}) super(hash) transform_activity_info unless hash.empty? end |