Sha256: c9a5263d575f5ebac9619240cba9f7306904fe2713e694b8eabb7af298c3235f
Contents?: true
Size: 1.14 KB
Versions: 3
Compression:
Stored size: 1.14 KB
Contents
module BluepanClient class CreateRemittanceRequest < BaseRequest PATH = "/v1/:api_token/remittances" attribute :paymethod, String attribute :dest_currency, String attribute :amount, Float attribute :recipientseq, Integer attribute :strategyseq, Integer attribute :provinceseq, Integer attribute :cityseq, Integer attribute :accountname, String attribute :accountnumber, String attribute :branch, String attribute :alipayid, String attribute :wechatid, String attribute :nick, String attribute :payment_url, String attribute :payment_account, String attribute :payment_password, String def call HTTParty.post(uri, { body: attributes.slice(*%i[ api_secret paymethod dest_currency amount recipientseq strategyseq provinceseq cityseq accountname accountnumber branch alipayid wechatid nick payment_url payment_account payment_password ]) }) end end end
Version data entries
3 entries across 3 versions & 1 rubygems