Class: DashOverlord::Entities::Base
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- DashOverlord::Entities::Base
- Defined in:
- lib/dash_overlord/entities/base.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#assign_attributes(attributes) ⇒ Object
7 8 9 |
# File 'lib/dash_overlord/entities/base.rb', line 7 def assign_attributes(attributes) attributes.each { |key, value| send("#{key}=", value) } end |