infusionsoft 1.0.9c → 1.0.9d

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,11 @@ module Infusionsoft
12
12
  # @param [String] url that will be redirected to upon successfully adding card
13
13
  # @param [String] url that will be redirected to when there is a failure upon adding card
14
14
  def credit_card_request_token(contact_id, success_url, failure_url)
15
- response = get('CreditCardSubmissionService', contact_id, success_url, failure_url)
15
+ response = get('CreditCardSubmissionService.requestSubmissionToken', contact_id, success_url, failure_url)
16
+ end
17
+
18
+ def credit_card_lookup_by_token(token)
19
+ response = get('CreditCardSubmissionService.requestCreditCardId', token)
16
20
  end
17
21
 
18
22
  end
@@ -1,4 +1,4 @@
1
1
  module Infusionsoft
2
2
  # The version of the gem
3
- VERSION = '1.0.9c'.freeze unless defined?(::Infusionsoft::VERSION)
3
+ VERSION = '1.0.9d'.freeze unless defined?(::Infusionsoft::VERSION)
4
4
  end
metadata CHANGED
@@ -1,23 +1,35 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: infusionsoft
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.9c
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
5
  prerelease: 5
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 9
10
+ - d
11
+ version: 1.0.9d
6
12
  platform: ruby
7
- authors:
13
+ authors:
8
14
  - Nathan Leavitt
9
15
  autorequire:
10
16
  bindir: bin
11
17
  cert_chain: []
12
- date: 2012-05-14 00:00:00.000000000 Z
18
+
19
+ date: 2012-05-23 00:00:00 -07:00
20
+ default_executable:
13
21
  dependencies: []
22
+
14
23
  description: A Ruby wrapper written for the Infusionsoft API
15
- email:
24
+ email:
16
25
  - nate@infusedsystems.com
17
26
  executables: []
27
+
18
28
  extensions: []
29
+
19
30
  extra_rdoc_files: []
20
- files:
31
+
32
+ files:
21
33
  - .gitignore
22
34
  - LICENSE.md
23
35
  - README.md
@@ -40,28 +52,41 @@ files:
40
52
  - lib/infusionsoft/request.rb
41
53
  - lib/infusionsoft/version.rb
42
54
  - test/api_infusion_test.rb
55
+ has_rdoc: true
43
56
  homepage: https://github.com/nateleavitt/infusionsoft
44
57
  licenses: []
58
+
45
59
  post_install_message:
46
60
  rdoc_options: []
47
- require_paths:
61
+
62
+ require_paths:
48
63
  - lib
49
- required_ruby_version: !ruby/object:Gem::Requirement
64
+ required_ruby_version: !ruby/object:Gem::Requirement
50
65
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ hash: 3
70
+ segments:
71
+ - 0
72
+ version: "0"
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
74
  none: false
57
- requirements:
58
- - - ! '>'
59
- - !ruby/object:Gem::Version
75
+ requirements:
76
+ - - ">"
77
+ - !ruby/object:Gem::Version
78
+ hash: 25
79
+ segments:
80
+ - 1
81
+ - 3
82
+ - 1
60
83
  version: 1.3.1
61
84
  requirements: []
85
+
62
86
  rubyforge_project:
63
- rubygems_version: 1.8.15
87
+ rubygems_version: 1.6.2
64
88
  signing_key:
65
89
  specification_version: 3
66
90
  summary: Ruby wrapper for the Infusionsoft API
67
91
  test_files: []
92
+