Class: EndiciaLabelServer::Builders::ChangePassPhraseBuilder

Inherits:
BuilderBase
  • Object
show all
Includes:
Ox
Defined in:
lib/endicia_label_server/builders/change_pass_phrase_builder.rb

Instance Attribute Summary

Attributes inherited from BuilderBase

#document, #root

Instance Method Summary collapse

Methods inherited from BuilderBase

#add, #assign_root_attributes, #to_http_post, #to_xml

Constructor Details

#initialize(opts = {}, root_attributes = nil) ⇒ ChangePassPhraseBuilder

Returns a new instance of ChangePassPhraseBuilder.



8
9
10
11
# File 'lib/endicia_label_server/builders/change_pass_phrase_builder.rb', line 8

def initialize(opts = {}, root_attributes = nil)
  super('ChangePassPhraseRequest', opts, root_attributes)
  root[:TokenRequested] = 'false'
end

Instance Method Details

#post_fieldObject



13
14
15
# File 'lib/endicia_label_server/builders/change_pass_phrase_builder.rb', line 13

def post_field
  'ChangePassPhraseRequestXML'
end