Class: ResoTransport::Member
- Inherits:
-
Struct
- Object
- Struct
- ResoTransport::Member
- Defined in:
- lib/reso_transport/enum.rb
Instance Attribute Summary collapse
-
#annotation ⇒ Object
Returns the value of attribute annotation.
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
Instance Attribute Details
#annotation ⇒ Object
Returns the value of attribute annotation
2 3 4 |
# File 'lib/reso_transport/enum.rb', line 2 def annotation @annotation end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/reso_transport/enum.rb', line 2 def name @name end |
#value ⇒ Object
Returns the value of attribute value
2 3 4 |
# File 'lib/reso_transport/enum.rb', line 2 def value @value end |
Class Method Details
.from_stream(args) ⇒ Object
3 4 5 |
# File 'lib/reso_transport/enum.rb', line 3 def self.from_stream(args) new(args["Name"], args["Value"]) end |