Class: EnotasApi::V1::BaixarXmlNfsIdExterno
- Defined in:
- lib/enotas_api/v1/baixar_xml_nfs_id_externo.rb
Instance Attribute Summary
Attributes inherited from Request
#content, #method, #params, #result_object, #uri
Instance Method Summary collapse
-
#initialize(empresa_id, id_externo) ⇒ BaixarXmlNfsIdExterno
constructor
A new instance of BaixarXmlNfsIdExterno.
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, id_externo) ⇒ BaixarXmlNfsIdExterno
Returns a new instance of BaixarXmlNfsIdExterno.
9 10 11 12 |
# File 'lib/enotas_api/v1/baixar_xml_nfs_id_externo.rb', line 9 def initialize(empresa_id, id_externo) uri = "/v1/empresas/#{url_encode(empresa_id)}/nfes/porIdExterno/#{url_encode(id_externo)}/xml" super(uri:) end |