Module: EnotasNfe::Request

Includes:
Connection
Included in:
Client, Endpoints
Defined in:
lib/enotas_nfe/request.rb

Instance Method Summary collapse

Instance Method Details

#delete(path, body = {}) ⇒ Object



13
14
15
# File 'lib/enotas_nfe/request.rb', line 13

def delete(path, body = {})
  request(:delete, path, body)
end

#get(path, body = {}) ⇒ Object



5
6
7
# File 'lib/enotas_nfe/request.rb', line 5

def get(path, body = {})
  request(:get, path, body)
end

#multipart_post(path, body = {}) ⇒ Object



17
18
19
# File 'lib/enotas_nfe/request.rb', line 17

def multipart_post(path, body = {})
  request_multipart(path, body)
end

#post(path, body = {}) ⇒ Object



9
10
11
# File 'lib/enotas_nfe/request.rb', line 9

def post(path, body = {})
  request(:post, path, body)
end