Module: EzpayInvoice::Request
- Included in:
- Client
- Defined in:
- lib/ezpay-invoice/request.rb
Instance Method Summary collapse
Instance Method Details
#post(path, data) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/ezpay-invoice/request.rb', line 9 def post(path, data) uri = Addressable::URI.new uri.query_values = data payload = { 'MerchantID_' => @merchant_id, 'PostData_' => encrypt(uri.query) } request(:post, path, payload) end |