infusionsoft 1.0.9d → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,6 @@ module Infusionsoft
14
14
  require 'infusionsoft/client/file'
15
15
  require 'infusionsoft/client/ticket' # Deprecated by Infusionsoft
16
16
  require 'infusionsoft/client/search'
17
- require 'infusionsoft/client/credit_card'
18
17
 
19
18
  include Infusionsoft::Client::Contact
20
19
  include Infusionsoft::Client::Email
@@ -24,6 +23,5 @@ module Infusionsoft
24
23
  include Infusionsoft::Client::File
25
24
  include Infusionsoft::Client::Ticket # Deprecated by Infusionsoft
26
25
  include Infusionsoft::Client::Search
27
- include Infusionsoft::Client::CreditCard
28
26
  end
29
27
  end
@@ -1,4 +1,4 @@
1
1
  module Infusionsoft
2
2
  # The version of the gem
3
- VERSION = '1.0.9d'.freeze unless defined?(::Infusionsoft::VERSION)
3
+ VERSION = '1.0.9'.freeze unless defined?(::Infusionsoft::VERSION)
4
4
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infusionsoft
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: 5
4
+ hash: 5
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 9
10
- - d
11
- version: 1.0.9d
10
+ version: 1.0.9
12
11
  platform: ruby
13
12
  authors:
14
13
  - Nathan Leavitt
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2012-05-23 00:00:00 -07:00
18
+ date: 2012-04-04 00:00:00 -07:00
20
19
  default_executable:
21
20
  dependencies: []
22
21
 
@@ -39,7 +38,6 @@ files:
39
38
  - lib/infusionsoft/client.rb
40
39
  - lib/infusionsoft/client/affiliate.rb
41
40
  - lib/infusionsoft/client/contact.rb
42
- - lib/infusionsoft/client/credit_card.rb
43
41
  - lib/infusionsoft/client/data.rb
44
42
  - lib/infusionsoft/client/email.rb
45
43
  - lib/infusionsoft/client/file.rb
@@ -73,14 +71,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
71
  required_rubygems_version: !ruby/object:Gem::Requirement
74
72
  none: false
75
73
  requirements:
76
- - - ">"
74
+ - - ">="
77
75
  - !ruby/object:Gem::Version
78
- hash: 25
76
+ hash: 23
79
77
  segments:
80
78
  - 1
81
79
  - 3
82
- - 1
83
- version: 1.3.1
80
+ - 6
81
+ version: 1.3.6
84
82
  requirements: []
85
83
 
86
84
  rubyforge_project:
@@ -1,24 +0,0 @@
1
- module Infusionsoft
2
- class Client
3
- # CreditCardSubmission service is used to obtain a token that is to be submitted
4
- # through a form when adding a credit card. In accordance with PCI compliance,
5
- # adding credit cards through the API will no longer be supported.
6
- module CreditCard
7
-
8
- # This service will request a token that will be used when submitting
9
- # a new credit card through a form
10
- #
11
- # @param [Integer] contact_id of the Infusionsoft contact
12
- # @param [String] url that will be redirected to upon successfully adding card
13
- # @param [String] url that will be redirected to when there is a failure upon adding card
14
- def credit_card_request_token(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)
20
- end
21
-
22
- end
23
- end
24
- end