Class: Omie::API::ServiceOrder
- Inherits:
-
Base
- Object
- Base
- Omie::API::ServiceOrder
show all
- Defined in:
- lib/omie/api/service_order.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#cancel_invoice(data) ⇒ Object
14
15
16
|
# File 'lib/omie/api/service_order.rb', line 14
def cancel_invoice(data)
conn.post("servicos/osp/", { call: "CancelarOS", param: [data] })
end
|
#create(data) ⇒ Object
6
7
8
|
# File 'lib/omie/api/service_order.rb', line 6
def create(data)
conn.post("servicos/os/", { call: "IncluirOS", param: [data] })
end
|
#create_invoice(data) ⇒ Object
10
11
12
|
# File 'lib/omie/api/service_order.rb', line 10
def create_invoice(data)
conn.post("servicos/osp/", { call: "FaturarOS", param: [data] })
end
|