Class: FastshopCatalog::CatalogService
- Inherits:
-
BaseService
- Object
- BaseService
- FastshopCatalog::CatalogService
- Defined in:
- lib/fastshop_catalog/catalog_service.rb
Constant Summary
Constants inherited from BaseService
Instance Method Summary collapse
-
#initialize ⇒ CatalogService
constructor
A new instance of CatalogService.
- #search(contract_code) ⇒ Object
Methods inherited from BaseService
#action, camelize, #encrypt, #service_url
Constructor Details
#initialize ⇒ CatalogService
Returns a new instance of CatalogService.
4 5 6 7 8 9 10 |
# File 'lib/fastshop_catalog/catalog_service.rb', line 4 def initialize @service = :catalogo @interface = 'ICatalogo' @soap_method = :busca_catalogo @return_key = 'Lista' super end |
Instance Method Details
#search(contract_code) ⇒ Object
12 13 14 |
# File 'lib/fastshop_catalog/catalog_service.rb', line 12 def search(contract_code) service_invoker('contrato' => contract_code) end |