Class: Edi::Walmart::ShipWithWalmart::DownloadResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/edi/walmart/ship_with_walmart.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success: nil, label_data: nil, content_type: nil, error: nil) ⇒ DownloadResult

Returns a new instance of DownloadResult.



33
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 33

def initialize(success: nil, label_data: nil, content_type: nil, error: nil) = super

Instance Attribute Details

#content_typeObject (readonly)

Returns the value of attribute content_type

Returns:

  • (Object)

    the current value of content_type



32
33
34
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 32

def content_type
  @content_type
end

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



32
33
34
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 32

def error
  @error
end

#label_dataObject (readonly)

Returns the value of attribute label_data

Returns:

  • (Object)

    the current value of label_data



32
33
34
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 32

def label_data
  @label_data
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



32
33
34
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 32

def success
  @success
end