Module: BuckarooJson::Transaction
- Defined in:
- lib/buckaroo_json/transaction.rb
Class Method Summary collapse
Class Method Details
.create(mode:, website_key:, api_key:, content:) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/buckaroo_json/transaction.rb', line 7 def create(mode:, website_key:, api_key:, content:) Request.create( mode: mode, website_key: website_key, api_key: api_key, method: 'POST', endpoint: 'Transaction', content: convert_services(content) ) end |