Class: ActiveShipping::LabelResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/active_shipping/label_response.rb

Instance Attribute Summary collapse

Attributes inherited from Response

#message, #params, #request, #test, #xml

Instance Method Summary collapse

Methods inherited from Response

#success?, #test?

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, message, params = {}, options = {})
  @labels = options[:labels]
  super
end

Instance Attribute Details

#labelsObject (readonly)

Returns the value of attribute labels.



3
4
5
# File 'lib/active_shipping/label_response.rb', line 3

def labels
  @labels
end