Sha256: d8372756d8ee3a00d34fb08699b7159634a8b80eefe51eed1f2dbf8bd1873602

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

module Gemgento
  class Magento::QuoteAdapter

    def self.find(quote_id, store_id = nil)
      response = Gemgento::API::SOAP::Checkout::Cart.info(quote_id, store_id)

      if response.success?
        return response.body[:result]
      else
        return nil
      end
    end

  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 app/adapters/gemgento/magento/quote_adapter.rb