Sha256: 32a707407095ea034fac993f91bcff7885acb5d396ed076169b405a02d436861
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
describe Moneta::Api::Requests::TransferRequest, vcr: true do let(:service) { Moneta::Api::Service.new($username, $password) } describe 'transfer' do let(:request) do described_class.new.tap do |request| request.amount = 10 request.payee = 28988504 request.payer = 10999 request.is_payer_amount = false request.payment_password = '12345' end end subject { service.transfer(request) } its(:status) { is_expected.to eq 'SUCCEED' } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moneta-api-1.0.0 | spec/lib/moneta/api/requests/transfer_request_spec.rb |