Sha256: 26c830b5a0242f5f6ec41a5438ea260909c4e18a0512941a8a8c96af1ac953d7
Contents?: true
Size: 388 Bytes
Versions: 1
Compression:
Stored size: 388 Bytes
Contents
module FastshopCatalog class ExternalDneService < FastshopCatalog::BaseService def initialize @service = :consulta_dne_externo @interface = 'IConsultaDneExterno' @soap_method = :consultar @return_key = 'Dne' super end def query(contract_code, zip_code) service_invoker('cep' => zip_code, 'contrato' => contract_code) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fastshop_catalog-0.0.8 | lib/fastshop_catalog/external_dne_service.rb |