revo-remit 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.markdown +122 -0
- data/lib/remit.rb +132 -0
- data/lib/remit/common.rb +151 -0
- data/lib/remit/data_types.rb +265 -0
- data/lib/remit/error_codes.rb +118 -0
- data/lib/remit/get_pipeline.rb +286 -0
- data/lib/remit/inbound_request.rb +85 -0
- data/lib/remit/ipn_request.rb +8 -0
- data/lib/remit/operations/cancel.rb +20 -0
- data/lib/remit/operations/cancel_subscription_and_refund.rb +26 -0
- data/lib/remit/operations/cancel_token.rb +19 -0
- data/lib/remit/operations/fund_prepaid.rb +33 -0
- data/lib/remit/operations/get_account_activity.rb +31 -0
- data/lib/remit/operations/get_account_balance.rb +32 -0
- data/lib/remit/operations/get_all_credit_instruments.rb +20 -0
- data/lib/remit/operations/get_all_prepaid_instruments.rb +20 -0
- data/lib/remit/operations/get_debt_balance.rb +28 -0
- data/lib/remit/operations/get_outstanding_debt_balance.rb +25 -0
- data/lib/remit/operations/get_payment_instruction.rb +23 -0
- data/lib/remit/operations/get_prepaid_balance.rb +27 -0
- data/lib/remit/operations/get_recipient_verification_status.rb +25 -0
- data/lib/remit/operations/get_token_by_caller.rb +23 -0
- data/lib/remit/operations/get_token_usage.rb +22 -0
- data/lib/remit/operations/get_tokens.rb +24 -0
- data/lib/remit/operations/get_total_prepaid_liability.rb +26 -0
- data/lib/remit/operations/get_transaction.rb +18 -0
- data/lib/remit/operations/get_transaction_status.rb +28 -0
- data/lib/remit/operations/install_payment_instruction.rb +29 -0
- data/lib/remit/operations/pay.rb +31 -0
- data/lib/remit/operations/refund.rb +46 -0
- data/lib/remit/operations/reserve.rb +28 -0
- data/lib/remit/operations/settle.rb +21 -0
- data/lib/remit/operations/settle_debt.rb +28 -0
- data/lib/remit/operations/subscribe_for_caller_notification.rb +20 -0
- data/lib/remit/operations/unsubscribe_for_caller_notification.rb +19 -0
- data/lib/remit/operations/write_off_debt.rb +26 -0
- data/lib/remit/pipeline_response.rb +20 -0
- data/lib/remit/signature_utils_for_outbound.rb +74 -0
- data/lib/remit/verify_signature.rb +21 -0
- data/spec/integrations/get_account_activity_spec.rb +42 -0
- data/spec/integrations/get_tokens_spec.rb +39 -0
- data/spec/integrations/integrations_helper.rb +15 -0
- data/spec/integrations/ipn_request_spec.rb +40 -0
- data/spec/integrations/pipeline_response_spec.rb +27 -0
- data/spec/integrations/verify_signature_spec.rb +140 -0
- data/spec/mocks/CancelResponse.xml +13 -0
- data/spec/mocks/CancelSubscriptionAndRefundResponse.xml +10 -0
- data/spec/mocks/CancelTokenResponse.xml +6 -0
- data/spec/mocks/ErrorResponse.xml +15 -0
- data/spec/mocks/FundPrepaidResponse.xml +11 -0
- data/spec/mocks/GetAccountActivityResponse.xml +68 -0
- data/spec/mocks/GetAccountBalanceResponse.xml +34 -0
- data/spec/mocks/GetDebtBalanceResponse.xml +21 -0
- data/spec/mocks/GetOutstandingDebtBalanceResponse.xml +21 -0
- data/spec/mocks/GetPaymentInstructionResponse.xml +25 -0
- data/spec/mocks/GetPrepaidBalanceResponse.xml +21 -0
- data/spec/mocks/GetRecipientVerificationStatusResponse.xml +9 -0
- data/spec/mocks/GetTokenByCallerResponse.xml +22 -0
- data/spec/mocks/GetTokenUsageResponse.xml +28 -0
- data/spec/mocks/GetTokensResponse.xml +22 -0
- data/spec/mocks/GetTotalPrepaidLiabilityResponse.xml +21 -0
- data/spec/mocks/GetTransactionResponse.xml +76 -0
- data/spec/mocks/GetTransactionStatusResponse.xml +16 -0
- data/spec/mocks/InstallPaymentInstructionResponse.xml +10 -0
- data/spec/mocks/PayResponse.xml +11 -0
- data/spec/mocks/RefundResponse.xml +11 -0
- data/spec/mocks/ReserveResponse.xml +11 -0
- data/spec/mocks/SettleDebtResponse.xml +11 -0
- data/spec/mocks/SettleResponse.xml +11 -0
- data/spec/mocks/VerifySignatureResponse.xml +11 -0
- data/spec/mocks/WriteOffDebtResponse.xml +11 -0
- data/spec/mocks/errors/InvalidParameterValue.xml +10 -0
- data/spec/mocks/errors/InvalidParams_certificateUrl.xml +2 -0
- data/spec/mocks/errors/RequestExpired.xml +10 -0
- data/spec/spec_helper.rb +85 -0
- data/spec/units/cancel_subscription_and_refund_spec.rb +29 -0
- data/spec/units/cancel_token_spec.rb +24 -0
- data/spec/units/fund_prepaid_spec.rb +28 -0
- data/spec/units/get_account_activity_spec.rb +58 -0
- data/spec/units/get_account_balance_spec.rb +28 -0
- data/spec/units/get_debt_balance_spec.rb +29 -0
- data/spec/units/get_outstanding_debt_balance_spec.rb +29 -0
- data/spec/units/get_pipeline_spec.rb +181 -0
- data/spec/units/get_prepaid_balance_spec.rb +29 -0
- data/spec/units/get_recipient_verification_status_spec.rb +26 -0
- data/spec/units/get_token_by_caller_spec.rb +56 -0
- data/spec/units/get_token_usage_spec.rb +51 -0
- data/spec/units/get_tokens_spec.rb +56 -0
- data/spec/units/get_total_prepaid_liability_spec.rb +26 -0
- data/spec/units/get_transaction_spec.rb +103 -0
- data/spec/units/get_transaction_status_spec.rb +44 -0
- data/spec/units/pay_spec.rb +112 -0
- data/spec/units/refund_spec.rb +41 -0
- data/spec/units/reserve_spec.rb +41 -0
- data/spec/units/settle_debt_spec.rb +41 -0
- data/spec/units/settle_spec.rb +41 -0
- data/spec/units/units_helper.rb +25 -0
- data/spec/units/write_off_debt_spec.rb +41 -0
- metadata +236 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/units_helper'
|
2
|
+
|
3
|
+
describe "the Refund API" do
|
4
|
+
describe "a successful response" do
|
5
|
+
it_should_behave_like 'a successful response'
|
6
|
+
|
7
|
+
before do
|
8
|
+
doc = <<-XML
|
9
|
+
<RefundResponse xmlns="http://fps.amazonaws.com/doc/2008-09-17/">
|
10
|
+
<RefundResult>
|
11
|
+
<TransactionId>14GK6F2QU755ODS27SGHEURLKPG72Z54KMF</TransactionId>
|
12
|
+
<TransactionStatus>Pending</TransactionStatus>
|
13
|
+
</RefundResult>
|
14
|
+
<ResponseMetadata>
|
15
|
+
<RequestId>1a146b9a-b37b-4f5f-bda6-012a5b9e45c3:0</RequestId>
|
16
|
+
</ResponseMetadata>
|
17
|
+
</RefundResponse>
|
18
|
+
XML
|
19
|
+
|
20
|
+
@response = Remit::Refund::Response.new(doc)
|
21
|
+
end
|
22
|
+
|
23
|
+
it "has metadata" do
|
24
|
+
@response.response_metadata.should_not be_nil
|
25
|
+
end
|
26
|
+
|
27
|
+
it "has results" do
|
28
|
+
@response.refund_result.should_not be_nil
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
it "has a transaction id" do
|
33
|
+
@response.refund_result.transaction_id.should_not be_nil
|
34
|
+
end
|
35
|
+
|
36
|
+
it "has a transaction status" do
|
37
|
+
@response.refund_result.transaction_status.should_not be_nil
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/units_helper'
|
2
|
+
|
3
|
+
describe "the Reserve API" do
|
4
|
+
describe "a successful response" do
|
5
|
+
it_should_behave_like 'a successful response'
|
6
|
+
|
7
|
+
before do
|
8
|
+
doc = <<-XML
|
9
|
+
<ReserveResponse xmlns="http://fps.amazonaws.com/doc/2008-09-17/">
|
10
|
+
<ReserveResult>
|
11
|
+
<TransactionId>14GK6F2QU755ODS27SGHEURLKPG72Z54KMF</TransactionId>
|
12
|
+
<TransactionStatus>Pending</TransactionStatus>
|
13
|
+
</ReserveResult>
|
14
|
+
<ResponseMetadata>
|
15
|
+
<RequestId>1a146b9a-b37b-4f5f-bda6-012a5b9e45c3:0</RequestId>
|
16
|
+
</ResponseMetadata>
|
17
|
+
</ReserveResponse>
|
18
|
+
XML
|
19
|
+
|
20
|
+
@response = Remit::Reserve::Response.new(doc)
|
21
|
+
end
|
22
|
+
|
23
|
+
it "has metadata" do
|
24
|
+
@response.response_metadata.should_not be_nil
|
25
|
+
end
|
26
|
+
|
27
|
+
it "has results" do
|
28
|
+
@response.reserve_result.should_not be_nil
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
it "has a transaction id" do
|
33
|
+
@response.reserve_result.transaction_id.should_not be_nil
|
34
|
+
end
|
35
|
+
|
36
|
+
it "has a transaction status" do
|
37
|
+
@response.reserve_result.transaction_status.should_not be_nil
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/units_helper'
|
2
|
+
|
3
|
+
describe "the SettleDebt API" do
|
4
|
+
describe "a successful response" do
|
5
|
+
it_should_behave_like 'a successful response'
|
6
|
+
|
7
|
+
before do
|
8
|
+
doc = <<-XML
|
9
|
+
<SettleDebtResponse xmlns="http://fps.amazonaws.com/doc/2008-09-17/">
|
10
|
+
<SettleDebtResult>
|
11
|
+
<TransactionId>14GK6F2QU755ODS27SGHEURLKPG72Z54KMF</TransactionId>
|
12
|
+
<TransactionStatus>Pending</TransactionStatus>
|
13
|
+
</SettleDebtResult>
|
14
|
+
<ResponseMetadata>
|
15
|
+
<RequestId>1a146b9a-b37b-4f5f-bda6-012a5b9e45c3:0</RequestId>
|
16
|
+
</ResponseMetadata>
|
17
|
+
</SettleDebtResponse>
|
18
|
+
XML
|
19
|
+
|
20
|
+
@response = Remit::SettleDebt::Response.new(doc)
|
21
|
+
end
|
22
|
+
|
23
|
+
it "has metadata" do
|
24
|
+
@response.response_metadata.should_not be_nil
|
25
|
+
end
|
26
|
+
|
27
|
+
it "has results" do
|
28
|
+
@response.settle_debt_result.should_not be_nil
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
it "has a transaction id" do
|
33
|
+
@response.settle_debt_result.transaction_id.should_not be_nil
|
34
|
+
end
|
35
|
+
|
36
|
+
it "has a transaction status" do
|
37
|
+
@response.settle_debt_result.transaction_status.should_not be_nil
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/units_helper'
|
2
|
+
|
3
|
+
describe "the Settle API" do
|
4
|
+
describe "a successful response" do
|
5
|
+
it_should_behave_like 'a successful response'
|
6
|
+
|
7
|
+
before do
|
8
|
+
doc = <<-XML
|
9
|
+
<SettleResponse xmlns="http://fps.amazonaws.com/doc/2008-09-17/">
|
10
|
+
<SettleResult>
|
11
|
+
<TransactionId>14GK6F2QU755ODS27SGHEURLKPG72Z54KMF</TransactionId>
|
12
|
+
<TransactionStatus>Pending</TransactionStatus>
|
13
|
+
</SettleResult>
|
14
|
+
<ResponseMetadata>
|
15
|
+
<RequestId>1a146b9a-b37b-4f5f-bda6-012a5b9e45c3:0</RequestId>
|
16
|
+
</ResponseMetadata>
|
17
|
+
</SettleResponse>
|
18
|
+
XML
|
19
|
+
|
20
|
+
@response = Remit::Settle::Response.new(doc)
|
21
|
+
end
|
22
|
+
|
23
|
+
it "has metadata" do
|
24
|
+
@response.response_metadata.should_not be_nil
|
25
|
+
end
|
26
|
+
|
27
|
+
it "has results" do
|
28
|
+
@response.settle_result.should_not be_nil
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
it "has a transaction id" do
|
33
|
+
@response.settle_result.transaction_id.should_not be_nil
|
34
|
+
end
|
35
|
+
|
36
|
+
it "has a transaction status" do
|
37
|
+
@response.settle_result.transaction_status.should_not be_nil
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# figure out where we are being loaded from
|
2
|
+
if $LOADED_FEATURES.grep(/spec\/units\/units_helper\.rb/).any?
|
3
|
+
begin
|
4
|
+
raise "foo"
|
5
|
+
rescue => e
|
6
|
+
puts <<-MSG
|
7
|
+
===================================================
|
8
|
+
It looks like units/units_helper.rb has been loaded
|
9
|
+
multiple times. Normalize the require to:
|
10
|
+
|
11
|
+
require "spec/units/units_helper"
|
12
|
+
|
13
|
+
Things like File.join and File.expand_path will
|
14
|
+
cause it to be loaded multiple times.
|
15
|
+
|
16
|
+
Loaded this time from:
|
17
|
+
|
18
|
+
#{e.backtrace.join("\n ")}
|
19
|
+
===================================================
|
20
|
+
MSG
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
# Actual code of Units Helper below:
|
25
|
+
require File.dirname(__FILE__) + '/../spec_helper'
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/units_helper'
|
2
|
+
|
3
|
+
describe "the WriteOffDebt API" do
|
4
|
+
describe "a successful response" do
|
5
|
+
it_should_behave_like 'a successful response'
|
6
|
+
|
7
|
+
before do
|
8
|
+
doc = <<-XML
|
9
|
+
<WriteOffDebtResponse xmlns="http://fps.amazonaws.com/doc/2008-09-17/">
|
10
|
+
<WriteOffDebtResult>
|
11
|
+
<TransactionId>14GK6F2QU755ODS27SGHEURLKPG72Z54KMF</TransactionId>
|
12
|
+
<TransactionStatus>Pending</TransactionStatus>
|
13
|
+
</WriteOffDebtResult>
|
14
|
+
<ResponseMetadata>
|
15
|
+
<RequestId>1a146b9a-b37b-4f5f-bda6-012a5b9e45c3:0</RequestId>
|
16
|
+
</ResponseMetadata>
|
17
|
+
</WriteOffDebtResponse>
|
18
|
+
XML
|
19
|
+
|
20
|
+
@response = Remit::WriteOffDebt::Response.new(doc)
|
21
|
+
end
|
22
|
+
|
23
|
+
it "has metadata" do
|
24
|
+
@response.response_metadata.should_not be_nil
|
25
|
+
end
|
26
|
+
|
27
|
+
it "has results" do
|
28
|
+
@response.write_off_debt_result.should_not be_nil
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
it "has a transaction id" do
|
33
|
+
@response.write_off_debt_result.transaction_id.should_not be_nil
|
34
|
+
end
|
35
|
+
|
36
|
+
it "has a transaction status" do
|
37
|
+
@response.write_off_debt_result.transaction_status.should_not be_nil
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
metadata
ADDED
@@ -0,0 +1,236 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: revo-remit
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 3
|
9
|
+
version: 0.2.3
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Tyler Hunt
|
13
|
+
- Peter Boling
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-11-10 00:00:00 +10:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: relax
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
- 0
|
32
|
+
- 7
|
33
|
+
version: 0.0.7
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
description:
|
37
|
+
email: peter.boling+remit@gmail.com
|
38
|
+
executables: []
|
39
|
+
|
40
|
+
extensions: []
|
41
|
+
|
42
|
+
extra_rdoc_files:
|
43
|
+
- LICENSE
|
44
|
+
- README.markdown
|
45
|
+
files:
|
46
|
+
- lib/remit.rb
|
47
|
+
- lib/remit/common.rb
|
48
|
+
- lib/remit/data_types.rb
|
49
|
+
- lib/remit/error_codes.rb
|
50
|
+
- lib/remit/get_pipeline.rb
|
51
|
+
- lib/remit/inbound_request.rb
|
52
|
+
- lib/remit/ipn_request.rb
|
53
|
+
- lib/remit/operations/cancel.rb
|
54
|
+
- lib/remit/operations/cancel_subscription_and_refund.rb
|
55
|
+
- lib/remit/operations/cancel_token.rb
|
56
|
+
- lib/remit/operations/fund_prepaid.rb
|
57
|
+
- lib/remit/operations/get_account_activity.rb
|
58
|
+
- lib/remit/operations/get_account_balance.rb
|
59
|
+
- lib/remit/operations/get_all_credit_instruments.rb
|
60
|
+
- lib/remit/operations/get_all_prepaid_instruments.rb
|
61
|
+
- lib/remit/operations/get_debt_balance.rb
|
62
|
+
- lib/remit/operations/get_outstanding_debt_balance.rb
|
63
|
+
- lib/remit/operations/get_payment_instruction.rb
|
64
|
+
- lib/remit/operations/get_prepaid_balance.rb
|
65
|
+
- lib/remit/operations/get_recipient_verification_status.rb
|
66
|
+
- lib/remit/operations/get_token_by_caller.rb
|
67
|
+
- lib/remit/operations/get_token_usage.rb
|
68
|
+
- lib/remit/operations/get_tokens.rb
|
69
|
+
- lib/remit/operations/get_total_prepaid_liability.rb
|
70
|
+
- lib/remit/operations/get_transaction.rb
|
71
|
+
- lib/remit/operations/get_transaction_status.rb
|
72
|
+
- lib/remit/operations/install_payment_instruction.rb
|
73
|
+
- lib/remit/operations/pay.rb
|
74
|
+
- lib/remit/operations/refund.rb
|
75
|
+
- lib/remit/operations/reserve.rb
|
76
|
+
- lib/remit/operations/settle.rb
|
77
|
+
- lib/remit/operations/settle_debt.rb
|
78
|
+
- lib/remit/operations/subscribe_for_caller_notification.rb
|
79
|
+
- lib/remit/operations/unsubscribe_for_caller_notification.rb
|
80
|
+
- lib/remit/operations/write_off_debt.rb
|
81
|
+
- lib/remit/pipeline_response.rb
|
82
|
+
- lib/remit/signature_utils_for_outbound.rb
|
83
|
+
- lib/remit/verify_signature.rb
|
84
|
+
- LICENSE
|
85
|
+
- README.markdown
|
86
|
+
- spec/integrations/verify_signature_spec.rb
|
87
|
+
- spec/integrations/get_account_activity_spec.rb
|
88
|
+
- spec/integrations/get_tokens_spec.rb
|
89
|
+
- spec/integrations/pipeline_response_spec.rb
|
90
|
+
- spec/integrations/ipn_request_spec.rb
|
91
|
+
- spec/units/get_outstanding_debt_balance_spec.rb
|
92
|
+
- spec/units/get_total_prepaid_liability_spec.rb
|
93
|
+
- spec/units/get_token_usage_spec.rb
|
94
|
+
- spec/units/get_pipeline_spec.rb
|
95
|
+
- spec/units/refund_spec.rb
|
96
|
+
- spec/units/get_transaction_spec.rb
|
97
|
+
- spec/units/settle_spec.rb
|
98
|
+
- spec/units/get_recipient_verification_status_spec.rb
|
99
|
+
- spec/units/cancel_subscription_and_refund_spec.rb
|
100
|
+
- spec/units/reserve_spec.rb
|
101
|
+
- spec/units/get_account_activity_spec.rb
|
102
|
+
- spec/units/get_debt_balance_spec.rb
|
103
|
+
- spec/units/get_tokens_spec.rb
|
104
|
+
- spec/units/get_transaction_status_spec.rb
|
105
|
+
- spec/units/cancel_token_spec.rb
|
106
|
+
- spec/units/write_off_debt_spec.rb
|
107
|
+
- spec/units/settle_debt_spec.rb
|
108
|
+
- spec/units/fund_prepaid_spec.rb
|
109
|
+
- spec/units/pay_spec.rb
|
110
|
+
- spec/units/get_account_balance_spec.rb
|
111
|
+
- spec/units/get_prepaid_balance_spec.rb
|
112
|
+
- spec/units/get_token_by_caller_spec.rb
|
113
|
+
- spec/spec_helper.rb
|
114
|
+
- spec/integrations/integrations_helper.rb
|
115
|
+
- spec/units/units_helper.rb
|
116
|
+
- spec/mocks/GetTokenUsageResponse.xml
|
117
|
+
- spec/mocks/GetPaymentInstructionResponse.xml
|
118
|
+
- spec/mocks/InstallPaymentInstructionResponse.xml
|
119
|
+
- spec/mocks/GetAccountActivityResponse.xml
|
120
|
+
- spec/mocks/PayResponse.xml
|
121
|
+
- spec/mocks/ErrorResponse.xml
|
122
|
+
- spec/mocks/CancelTokenResponse.xml
|
123
|
+
- spec/mocks/VerifySignatureResponse.xml
|
124
|
+
- spec/mocks/SettleDebtResponse.xml
|
125
|
+
- spec/mocks/WriteOffDebtResponse.xml
|
126
|
+
- spec/mocks/GetDebtBalanceResponse.xml
|
127
|
+
- spec/mocks/CancelSubscriptionAndRefundResponse.xml
|
128
|
+
- spec/mocks/RefundResponse.xml
|
129
|
+
- spec/mocks/GetTokensResponse.xml
|
130
|
+
- spec/mocks/GetTransactionResponse.xml
|
131
|
+
- spec/mocks/GetAccountBalanceResponse.xml
|
132
|
+
- spec/mocks/SettleResponse.xml
|
133
|
+
- spec/mocks/GetRecipientVerificationStatusResponse.xml
|
134
|
+
- spec/mocks/CancelResponse.xml
|
135
|
+
- spec/mocks/GetOutstandingDebtBalanceResponse.xml
|
136
|
+
- spec/mocks/FundPrepaidResponse.xml
|
137
|
+
- spec/mocks/GetTransactionStatusResponse.xml
|
138
|
+
- spec/mocks/GetTokenByCallerResponse.xml
|
139
|
+
- spec/mocks/ReserveResponse.xml
|
140
|
+
- spec/mocks/GetTotalPrepaidLiabilityResponse.xml
|
141
|
+
- spec/mocks/GetPrepaidBalanceResponse.xml
|
142
|
+
- spec/mocks/errors/InvalidParameterValue.xml
|
143
|
+
- spec/mocks/errors/InvalidParams_certificateUrl.xml
|
144
|
+
- spec/mocks/errors/RequestExpired.xml
|
145
|
+
has_rdoc: true
|
146
|
+
homepage: http://github.com/nyc-ruby-meetup/remit
|
147
|
+
licenses: []
|
148
|
+
|
149
|
+
post_install_message:
|
150
|
+
rdoc_options:
|
151
|
+
- --charset=UTF-8
|
152
|
+
require_paths:
|
153
|
+
- lib
|
154
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
155
|
+
none: false
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
segments:
|
160
|
+
- 0
|
161
|
+
version: "0"
|
162
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
|
+
none: false
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
segments:
|
168
|
+
- 0
|
169
|
+
version: "0"
|
170
|
+
requirements: []
|
171
|
+
|
172
|
+
rubyforge_project: remit-nyc
|
173
|
+
rubygems_version: 1.3.7
|
174
|
+
signing_key:
|
175
|
+
specification_version: 3
|
176
|
+
summary: An API for using the Amazon Flexible Payment Service (FPS).
|
177
|
+
test_files:
|
178
|
+
- spec/integrations/verify_signature_spec.rb
|
179
|
+
- spec/integrations/get_account_activity_spec.rb
|
180
|
+
- spec/integrations/get_tokens_spec.rb
|
181
|
+
- spec/integrations/pipeline_response_spec.rb
|
182
|
+
- spec/integrations/ipn_request_spec.rb
|
183
|
+
- spec/units/get_outstanding_debt_balance_spec.rb
|
184
|
+
- spec/units/get_total_prepaid_liability_spec.rb
|
185
|
+
- spec/units/get_token_usage_spec.rb
|
186
|
+
- spec/units/get_pipeline_spec.rb
|
187
|
+
- spec/units/refund_spec.rb
|
188
|
+
- spec/units/get_transaction_spec.rb
|
189
|
+
- spec/units/settle_spec.rb
|
190
|
+
- spec/units/get_recipient_verification_status_spec.rb
|
191
|
+
- spec/units/cancel_subscription_and_refund_spec.rb
|
192
|
+
- spec/units/reserve_spec.rb
|
193
|
+
- spec/units/get_account_activity_spec.rb
|
194
|
+
- spec/units/get_debt_balance_spec.rb
|
195
|
+
- spec/units/get_tokens_spec.rb
|
196
|
+
- spec/units/get_transaction_status_spec.rb
|
197
|
+
- spec/units/cancel_token_spec.rb
|
198
|
+
- spec/units/write_off_debt_spec.rb
|
199
|
+
- spec/units/settle_debt_spec.rb
|
200
|
+
- spec/units/fund_prepaid_spec.rb
|
201
|
+
- spec/units/pay_spec.rb
|
202
|
+
- spec/units/get_account_balance_spec.rb
|
203
|
+
- spec/units/get_prepaid_balance_spec.rb
|
204
|
+
- spec/units/get_token_by_caller_spec.rb
|
205
|
+
- spec/spec_helper.rb
|
206
|
+
- spec/integrations/integrations_helper.rb
|
207
|
+
- spec/units/units_helper.rb
|
208
|
+
- spec/mocks/GetTokenUsageResponse.xml
|
209
|
+
- spec/mocks/GetPaymentInstructionResponse.xml
|
210
|
+
- spec/mocks/InstallPaymentInstructionResponse.xml
|
211
|
+
- spec/mocks/GetAccountActivityResponse.xml
|
212
|
+
- spec/mocks/PayResponse.xml
|
213
|
+
- spec/mocks/ErrorResponse.xml
|
214
|
+
- spec/mocks/CancelTokenResponse.xml
|
215
|
+
- spec/mocks/VerifySignatureResponse.xml
|
216
|
+
- spec/mocks/SettleDebtResponse.xml
|
217
|
+
- spec/mocks/WriteOffDebtResponse.xml
|
218
|
+
- spec/mocks/GetDebtBalanceResponse.xml
|
219
|
+
- spec/mocks/CancelSubscriptionAndRefundResponse.xml
|
220
|
+
- spec/mocks/RefundResponse.xml
|
221
|
+
- spec/mocks/GetTokensResponse.xml
|
222
|
+
- spec/mocks/GetTransactionResponse.xml
|
223
|
+
- spec/mocks/GetAccountBalanceResponse.xml
|
224
|
+
- spec/mocks/SettleResponse.xml
|
225
|
+
- spec/mocks/GetRecipientVerificationStatusResponse.xml
|
226
|
+
- spec/mocks/CancelResponse.xml
|
227
|
+
- spec/mocks/GetOutstandingDebtBalanceResponse.xml
|
228
|
+
- spec/mocks/FundPrepaidResponse.xml
|
229
|
+
- spec/mocks/GetTransactionStatusResponse.xml
|
230
|
+
- spec/mocks/GetTokenByCallerResponse.xml
|
231
|
+
- spec/mocks/ReserveResponse.xml
|
232
|
+
- spec/mocks/GetTotalPrepaidLiabilityResponse.xml
|
233
|
+
- spec/mocks/GetPrepaidBalanceResponse.xml
|
234
|
+
- spec/mocks/errors/InvalidParameterValue.xml
|
235
|
+
- spec/mocks/errors/InvalidParams_certificateUrl.xml
|
236
|
+
- spec/mocks/errors/RequestExpired.xml
|