Class: AMF::Pure::Header
- Inherits:
-
Object
- Object
- AMF::Pure::Header
- Defined in:
- lib/amf/pure/remoting.rb
Overview
AMF::Request or AMF::Response header
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#must_understand ⇒ Object
Returns the value of attribute must_understand.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, must_understand, data) ⇒ Header
constructor
A new instance of Header.
Constructor Details
#initialize(name, must_understand, data) ⇒ Header
Returns a new instance of Header.
101 102 103 104 105 |
# File 'lib/amf/pure/remoting.rb', line 101 def initialize name, must_understand, data @name = name @must_understand = must_understand @data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
99 100 101 |
# File 'lib/amf/pure/remoting.rb', line 99 def data @data end |
#must_understand ⇒ Object
Returns the value of attribute must_understand.
99 100 101 |
# File 'lib/amf/pure/remoting.rb', line 99 def must_understand @must_understand end |
#name ⇒ Object
Returns the value of attribute name.
99 100 101 |
# File 'lib/amf/pure/remoting.rb', line 99 def name @name end |