prismpay 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,3 @@
1
- require 'activemerchant'
2
- require 'prismpay'
3
-
4
1
  module ActiveMerchant
5
2
  module Billing
6
3
 
@@ -23,18 +20,18 @@ module ActiveMerchant
23
20
 
24
21
  # Transactions
25
22
  def check_purchase(amount, check, options = {})
26
- result = @gateway.ext_ach_sale(amount, check, options)
23
+ result = @gateway.ach_sale(amount, check, options)
27
24
  result.active_merchant_response
28
25
  end
29
26
 
30
27
  def check_void(identification, pp_txn_id, options = {})
31
- result = @gateway.ext_ach_void(identification, pp_txn_id, options)
28
+ result = @gateway.ach_void(identification, pp_txn_id, options)
32
29
  result.active_merchant_response
33
30
  end
34
31
 
35
32
  def check_refund(amount, identification, pp_txn_id, options = {})
36
33
 
37
- result = @gateway.ext_ach_refund(amount, identification,
34
+ result = @gateway.ach_refund(amount, identification,
38
35
  pp_txn_id, options)
39
36
 
40
37
  result.active_merchant_response
@@ -1,10 +1,3 @@
1
- require 'savon'
2
- require 'activemerchant'
3
- require 'prism_credit_response'
4
- require 'webpay'
5
- require 'builder'
6
- require 'openssl'
7
-
8
1
  module PrismPay
9
2
 
10
3
  class PrismPayReports
@@ -2,8 +2,8 @@ module PrismPay
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 8
5
+ TINY = 9
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
9
- end
9
+ end
@@ -1,7 +1,3 @@
1
- require 'openssl' # required for encryption
2
- require 'erb' # required for url_escaping
3
- require 'yaml' # yaml parsing
4
-
5
1
  module PrismPay
6
2
 
7
3
  class Form
@@ -1,5 +1,5 @@
1
1
  require 'prismpay'
2
- require 'webpay'
2
+ require 'prismpay/webpay'
3
3
 
4
4
  describe PrismPay::Webpay, "This is the planned class we'll see what happens"
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prismpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-26 00:00:00.000000000 Z
12
+ date: 2012-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemerchant
16
- requirement: &70179187332480 !ruby/object:Gem::Requirement
16
+ requirement: &70127631180920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.20.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70179187332480
24
+ version_requirements: *70127631180920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: savon
27
- requirement: &70179187331400 !ruby/object:Gem::Requirement
27
+ requirement: &70127631180160 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70179187331400
35
+ version_requirements: *70127631180160
36
36
  description: Provide an interface to Prismpay web services, and creates an ActiveMerchant
37
37
  wrapper for PrismPay web services
38
38
  email: rnash@tnsolutions.com
@@ -40,15 +40,16 @@ executables: []
40
40
  extensions: []
41
41
  extra_rdoc_files: []
42
42
  files:
43
- - lib/prism_credit_response.rb
43
+ - lib/prismpay/prism_credit_response.rb
44
+ - lib/prismpay/prismpay.rb
45
+ - lib/prismpay/prismpay_am.rb
46
+ - lib/prismpay/prismpay_reports.rb
47
+ - lib/prismpay/ReportingService.xml
48
+ - lib/prismpay/TransactionService.xml
49
+ - lib/prismpay/version.rb
50
+ - lib/prismpay/webpay.rb
51
+ - lib/prismpay/webpay.yaml
44
52
  - lib/prismpay.rb
45
- - lib/prismpay_am.rb
46
- - lib/prismpay_reports.rb
47
- - lib/ReportingService.xml
48
- - lib/TransactionService.xml
49
- - lib/version.rb
50
- - lib/webpay.rb
51
- - lib/webpay.yaml
52
53
  - README.md
53
54
  - spec/prism_credit_response_spec.rb
54
55
  - spec/prismpay_spec.rb