Class: USPS::Response::Base
- Inherits:
-
Object
- Object
- USPS::Response::Base
- Defined in:
- lib/usps/response/base.rb
Direct Known Subclasses
AddressStandardization, CityAndStateLookup, DeliveryConfirmation, TrackingFieldLookup, TrackingLookup
Instance Attribute Summary collapse
-
#raw ⇒ Object
Returns the value of attribute raw.
Class Method Summary collapse
Instance Attribute Details
#raw ⇒ Object
Returns the value of attribute raw.
3 4 5 |
# File 'lib/usps/response/base.rb', line 3 def raw @raw end |
Class Method Details
.parse(xml) ⇒ Object
6 7 8 9 10 |
# File 'lib/usps/response/base.rb', line 6 def parse(xml) response = self.new(xml) response.raw = xml response end |