Class: Entity
- Inherits:
-
SimpleStruct
- Object
- SimpleStruct
- Entity
- Defined in:
- lib/bottlerocket/models/entity.rb
Instance Attribute Summary
Attributes inherited from SimpleStruct
Instance Method Summary collapse
Methods inherited from SimpleStruct
Constructor Details
This class inherits a constructor from SimpleStruct
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SimpleStruct
Instance Method Details
#delete ⇒ Object
6 7 8 |
# File 'lib/bottlerocket/models/entity.rb', line 6 def delete content_type.delete(self.attributes) end |
#update ⇒ Object
2 3 4 |
# File 'lib/bottlerocket/models/entity.rb', line 2 def update content_type.update(self.attributes) end |