class EnotasNfe::Client
Constants
- NFE_ENDPOINT
- NFSE_ENDPOINT
Attributes
auth_token[RW]
endpoint[RW]
Public Class Methods
new(auth_token, endpoint)
click to toggle source
# File lib/enotas_nfe/client.rb, line 13 def initialize(auth_token, endpoint) @auth_token = auth_token if endpoint == 'nfe' @endpoint = NFE_ENDPOINT else @endpoint = NFSE_ENDPOINT end end