Class: Lifesaver::SerializedModel
- Inherits:
-
Struct
- Object
- Struct
- Lifesaver::SerializedModel
- Defined in:
- lib/lifesaver/serialized_model.rb
Instance Attribute Summary collapse
-
#class_name ⇒ Object
Returns the value of attribute class_name.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Attribute Details
#class_name ⇒ Object
Returns the value of attribute class_name
2 3 4 |
# File 'lib/lifesaver/serialized_model.rb', line 2 def class_name @class_name end |
#id ⇒ Object
Returns the value of attribute id
2 3 4 |
# File 'lib/lifesaver/serialized_model.rb', line 2 def id @id end |