Class: Cetustek::QueryInvoiceByOrderId
- Inherits:
-
Object
- Object
- Cetustek::QueryInvoiceByOrderId
- Defined in:
- lib/cetustek/query_invoice_by_order_id.rb
Class Method Summary collapse
Class Method Details
.query(order_id) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/cetustek/query_invoice_by_order_id.rb', line 3 def self.query(order_id) url = Cetustek.config.url client = Savon.client( wsdl: url, open_timeout: 300, read_timeout: 300 ) @response = client.call(:query_invoice_by_orderid, message: { orderid: order_id, source: Cetustek.config.site_id + Cetustek.config.password, rentid: Cetustek.config.username }) end |