Sha256: 8bcfa645d80d5e4c97914353a2cbef763d22e4a305f20e88ff44064886cc473f

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

module FastshopCatalog
  class ProductService < FastshopCatalog::BaseService

    def initialize
      @service = :consulta_produto
      @interface = 'IConsultaProduto'
      @soap_method = :busca_produto
      @return_key = 'ProdutoDados'
      super
    end

    def search(contract_code, sku)
      service_invoker('contrato' => contract_code, 'sku' => sku)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fastshop_catalog-0.0.8 lib/fastshop_catalog/product_service.rb