Class: AmazonFPS::HeaderHandler

Inherits:
SOAP::Header::SimpleHandler
  • Object
show all
Defined in:
lib/aws_credentials.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag, value) ⇒ HeaderHandler

Returns a new instance of HeaderHandler.



9
10
11
12
13
# File 'lib/aws_credentials.rb', line 9

def initialize(tag, value)
  super(XSD::QName.new(nil, tag))
  @tag = tag
  @value = value
end

Instance Attribute Details

#tagObject (readonly)

Returns the value of attribute tag.



6
7
8
# File 'lib/aws_credentials.rb', line 6

def tag
  @tag
end

#value=(value) ⇒ Object (writeonly)

Sets the attribute value

Parameters:

  • value

    the value to set the attribute value to.



7
8
9
# File 'lib/aws_credentials.rb', line 7

def value=(value)
  @value = value
end

Instance Method Details

#on_simple_outboundObject



15
16
17
# File 'lib/aws_credentials.rb', line 15

def on_simple_outbound
  @value
end