Class: Elasticord::Base
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Elasticord::Base
- Extended by:
- ClassMethods
- Defined in:
- lib/elasticord/base.rb
Direct Known Subclasses
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Methods included from ClassMethods
Instance Method Details
#assign_attributes(attributes) ⇒ Object
54 55 56 |
# File 'lib/elasticord/base.rb', line 54 def assign_attributes(attributes) attributes.each { |key, value| send("#{key}=", value) } end |