Sha256: 22b542a4679b32771cef504bf85bbf86379acb1a4d10c6eff9a7b35ce6d53844

Contents?: true

Size: 378 Bytes

Versions: 7

Compression:

Stored size: 378 Bytes

Contents

module FastshopCatalog
  class CatalogService < FastshopCatalog::BaseService

    def initialize
      @service = 'FastServices.WsCatalogo/Catalogo.svc/service'
      @interface = 'ICatalogo'
      @soap_method = :busca_catalogo
      @return_key = 'Lista'
      super
    end

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

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fastshop_catalog-0.0.7 lib/fastshop_catalog/catalog_service.rb
fastshop_catalog-0.0.6 lib/fastshop_catalog/catalog_service.rb
fastshop_catalog-0.0.5 lib/fastshop_catalog/catalog_service.rb
fastshop_catalog-0.0.4 lib/fastshop_catalog/catalog_service.rb
fastshop_catalog-0.0.3 lib/fastshop_catalog/catalog_service.rb
fastshop_catalog-0.0.2 lib/fastshop_catalog/catalog_service.rb
fastshop_catalog-0.0.1 lib/fastshop_catalog/catalog_service.rb