Class: Serializer::Attribute
- Inherits:
-
Struct
- Object
- Struct
- Serializer::Attribute
- Defined in:
- lib/serializer.rb
Instance Attribute Summary collapse
-
#condition ⇒ Object
Returns the value of attribute condition.
-
#from ⇒ Object
Returns the value of attribute from.
-
#key ⇒ Object
Returns the value of attribute key.
-
#options ⇒ Object
Returns the value of attribute options.
-
#serializer ⇒ Object
Returns the value of attribute serializer.
Instance Attribute Details
#condition ⇒ Object
Returns the value of attribute condition
7 8 9 |
# File 'lib/serializer.rb', line 7 def condition @condition end |
#from ⇒ Object
Returns the value of attribute from
7 8 9 |
# File 'lib/serializer.rb', line 7 def from @from end |
#key ⇒ Object
Returns the value of attribute key
7 8 9 |
# File 'lib/serializer.rb', line 7 def key @key end |
#options ⇒ Object
Returns the value of attribute options
7 8 9 |
# File 'lib/serializer.rb', line 7 def end |
#serializer ⇒ Object
Returns the value of attribute serializer
7 8 9 |
# File 'lib/serializer.rb', line 7 def serializer @serializer end |