Class: AMF::Pure::Header

Inherits:
Object
  • Object
show all
Defined in:
lib/amf/pure/remoting.rb

Overview

AMF::Pure::Request or AMF::Pure::Response header

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, must_understand, data) ⇒ Header

Returns a new instance of Header.



102
103
104
105
106
# File 'lib/amf/pure/remoting.rb', line 102

def initialize name, must_understand, data
  @name = name
  @must_understand = must_understand
  @data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



100
101
102
# File 'lib/amf/pure/remoting.rb', line 100

def data
  @data
end

#must_understandObject

Returns the value of attribute must_understand.



100
101
102
# File 'lib/amf/pure/remoting.rb', line 100

def must_understand
  @must_understand
end

#nameObject

Returns the value of attribute name.



100
101
102
# File 'lib/amf/pure/remoting.rb', line 100

def name
  @name
end