Class: EndiciaLabelServer::Builders::PostageRateBuilder
- Inherits:
-
BuilderBase
- Object
- BuilderBase
- EndiciaLabelServer::Builders::PostageRateBuilder
- Includes:
- Ox
- Defined in:
- lib/endicia_label_server/builders/postage_rate_builder.rb
Overview
The PostageRateBuilder class builds Endicia XML PostageRate Objects.
Instance Attribute Summary
Attributes inherited from BuilderBase
Instance Method Summary collapse
-
#initialize(opts = {}, root_attributes = nil) ⇒ PostageRateBuilder
constructor
Initializes a new RateBuilder object.
- #post_field ⇒ Object
Methods inherited from BuilderBase
#add, #assign_root_attributes, #to_http_post, #to_xml
Constructor Details
#initialize(opts = {}, root_attributes = nil) ⇒ PostageRateBuilder
Initializes a new RateBuilder object
14 15 16 |
# File 'lib/endicia_label_server/builders/postage_rate_builder.rb', line 14 def initialize(opts = {}, root_attributes = nil) super('PostageRateRequest', opts, root_attributes) end |
Instance Method Details
#post_field ⇒ Object
18 19 20 |
# File 'lib/endicia_label_server/builders/postage_rate_builder.rb', line 18 def post_field 'postageRateRequestXML' end |