vaulted_billing-termcap 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,6 @@
1
1
  require 'vaulted_billing'
2
2
  require 'vaulted_billing/termcap/gateway'
3
+ require 'vaulted_billing/termcap/gateways/bogus'
3
4
  require 'vaulted_billing/termcap/gateways/ipcommerce'
4
5
 
5
6
  module VaultedBilling
@@ -0,0 +1,16 @@
1
+ require 'vaulted_billing/gateways/bogus'
2
+
3
+ VaultedBilling::Gateways::Bogus.class_eval do
4
+ def capture_selective(transaction_ids, differences = [], options = {})
5
+ transaction_response
6
+ end
7
+
8
+ def capture_all(options = {})
9
+ transaction_response
10
+ end
11
+
12
+ def return_unlinked(customer, credit_card, amount, options = {})
13
+ transaction_response
14
+ end
15
+ end
16
+
@@ -1,5 +1,5 @@
1
1
  module VaultedBilling
2
2
  module Termcap
3
- Version = '0.0.2'
3
+ Version = '0.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vaulted_billing-termcap
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Adam Fortuna
@@ -123,6 +123,7 @@ extra_rdoc_files: []
123
123
 
124
124
  files:
125
125
  - lib/vaulted_billing/termcap/gateway.rb
126
+ - lib/vaulted_billing/termcap/gateways/bogus.rb
126
127
  - lib/vaulted_billing/termcap/gateways/ipcommerce.rb
127
128
  - lib/vaulted_billing/termcap/version.rb
128
129
  - lib/vaulted_billing/termcap.rb