class EndiciaLabelServer::Parsers::PostageRatesParser
Public Instance Methods
attr_value(name, value)
click to toggle source
# File lib/endicia_label_server/parsers/postage_rates_parser.rb, line 4 def attr_value(name, value) @current_rate[:total] = value.as_s if name == :TotalAmount end
value(value)
click to toggle source
Calls superclass method
EndiciaLabelServer::Parsers::PostageRateParser#value
# File lib/endicia_label_server/parsers/postage_rates_parser.rb, line 8 def value(value) super if switch_active?(:MailClass) @current_rate[:mail_class] = value.as_s end end