Class: EnotasApi::V1::CancelarNfs
- Defined in:
- lib/enotas_api/v1/cancelar_nfs.rb
Instance Attribute Summary
Attributes inherited from Request
#content, #method, #params, #result_object, #uri
Instance Method Summary collapse
-
#initialize(empresa_id, nfs_id) ⇒ CancelarNfs
constructor
A new instance of CancelarNfs.
Methods inherited from Request
#call, #call!, #param, #to_json, #to_url
Methods included from Sortable
Methods included from Searchable
Methods included from Paginable
Methods included from Filterable
Methods included from EncodingHelper
#encode_query_params, #url_encode
Constructor Details
#initialize(empresa_id, nfs_id) ⇒ CancelarNfs
Returns a new instance of CancelarNfs.
8 9 10 |
# File 'lib/enotas_api/v1/cancelar_nfs.rb', line 8 def initialize(empresa_id, nfs_id) super(method: :DELETE, uri: "/v1/empresas/#{url_encode(empresa_id)}/nfes/#{url_encode(nfs_id)}") end |