Class: ActiveShipping::LabelResponse
- Defined in:
- lib/active_shipping/label_response.rb
Instance Attribute Summary collapse
-
#labels ⇒ Object
readonly
Returns the value of attribute labels.
Attributes inherited from Response
#message, #params, #request, #test, #xml
Instance Method Summary collapse
-
#initialize(success, message, params = {}, options = {}) ⇒ LabelResponse
constructor
A new instance of LabelResponse.
Methods inherited from Response
Constructor Details
#initialize(success, message, params = {}, options = {}) ⇒ LabelResponse
Returns a new instance of LabelResponse.
5 6 7 8 |
# File 'lib/active_shipping/label_response.rb', line 5 def initialize(success, , params = {}, = {}) @labels = [:labels] super end |
Instance Attribute Details
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
3 4 5 |
# File 'lib/active_shipping/label_response.rb', line 3 def labels @labels end |