afc_salesforce 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1964af1869f8dcaedf11c7a6ff98f70e668a049a
4
- data.tar.gz: 856bf52d9653dd2fb4f7832d2d5c26c3bf8cc48e
3
+ metadata.gz: 2064a5135c5dc44d794ea654938f9b2ff34c4ce9
4
+ data.tar.gz: 1e01116deb49203476296773122104e2814d82f3
5
5
  SHA512:
6
- metadata.gz: 63011335ddd32bcd1b73326d0971a577f93c443b4d5ddaa2102c3765507eb8ba350ad9b4ee58d49ea22b8c88a7c3f1fa606f7e341dd353684338fc239e785aef
7
- data.tar.gz: 1bce2421f8468c715b35c4d4041fdc376c183f28fb54824b253fcc8403958379430f6599cb3ecfbfe281ae49547f7d38198d8aa443a743339aa8dcf668ad9004
6
+ metadata.gz: e89e64d4426db1caa6a2c6f415f36864c6617c6e362b3e18a6f85ef43354ee904a56d8d66264ba7b4813d49f3164d72f5062dacc37ab6cec8be58564b262e3e0
7
+ data.tar.gz: 3c8e6d424a60f80b7a8c3e48ba1e20e993477dcffc6cfa9f9be782d719f35186876682e0cda1a01285980435689f09824074f5598ab5ba2847009e2b8e8211fb
@@ -32,11 +32,14 @@ module AFCSalesforce
32
32
 
33
33
  def send_to_salesforce
34
34
  Restforce.new(
35
- username: AFCSalesforce.configuration.salesforce_username,
36
- password: AFCSalesforce.configuration.salesforce_password,
37
- client_id: AFCSalesforce.configuration.salesforce_client_id,
38
- client_secret: AFCSalesforce.configuration.salesforce_client_secret,
39
- api_version: AFCSalesforce.configuration.salesforce_api_version
35
+ username: AFCSalesforce.configuration.salesforce_username,
36
+ password: AFCSalesforce.configuration.salesforce_password,
37
+ security_token: AFCSalesforce.configuration.salesforce_security_token,
38
+ client_id: AFCSalesforce.configuration.salesforce_client_id,
39
+ client_secret: AFCSalesforce.configuration.salesforce_client_secret,
40
+ api_version: AFCSalesforce.configuration.salesforce_api_version,
41
+ host: AFCSalesforce.configuration.salesforce_host,
42
+ authentication_callback: AFCSalesforce.configuration.salesforce_authentication_callback
40
43
  ).post(URI('/services/apexrest/v1/lead_form'), salesforce_hash)
41
44
  end
42
45
  end
@@ -35,11 +35,14 @@ module AFCSalesforce
35
35
 
36
36
  def send_to_salesforce
37
37
  Restforce.new(
38
- username: AFCSalesforce.configuration.salesforce_username,
39
- password: AFCSalesforce.configuration.salesforce_password,
40
- client_id: AFCSalesforce.configuration.salesforce_client_id,
41
- client_secret: AFCSalesforce.configuration.salesforce_client_secret,
42
- api_version: AFCSalesforce.configuration.salesforce_api_version
38
+ username: AFCSalesforce.configuration.salesforce_username,
39
+ password: AFCSalesforce.configuration.salesforce_password,
40
+ security_token: AFCSalesforce.configuration.salesforce_security_token,
41
+ client_id: AFCSalesforce.configuration.salesforce_client_id,
42
+ client_secret: AFCSalesforce.configuration.salesforce_client_secret,
43
+ api_version: AFCSalesforce.configuration.salesforce_api_version,
44
+ host: AFCSalesforce.configuration.salesforce_host,
45
+ authentication_callback: AFCSalesforce.configuration.salesforce_authentication_callback
43
46
  ).post(URI('/services/apexrest/v1/purchase_form'), salesforce_hash)
44
47
  end
45
48
  end
@@ -35,11 +35,14 @@ module AFCSalesforce
35
35
 
36
36
  def send_to_salesforce
37
37
  Restforce.new(
38
- username: AFCSalesforce.configuration.salesforce_username,
39
- password: AFCSalesforce.configuration.salesforce_password,
40
- client_id: AFCSalesforce.configuration.salesforce_client_id,
41
- client_secret: AFCSalesforce.configuration.salesforce_client_secret,
42
- api_version: AFCSalesforce.configuration.salesforce_api_version
38
+ username: AFCSalesforce.configuration.salesforce_username,
39
+ password: AFCSalesforce.configuration.salesforce_password,
40
+ security_token: AFCSalesforce.configuration.salesforce_security_token,
41
+ client_id: AFCSalesforce.configuration.salesforce_client_id,
42
+ client_secret: AFCSalesforce.configuration.salesforce_client_secret,
43
+ api_version: AFCSalesforce.configuration.salesforce_api_version,
44
+ host: AFCSalesforce.configuration.salesforce_host,
45
+ authentication_callback: AFCSalesforce.configuration.salesforce_authentication_callback
43
46
  ).post(URI('/services/apexrest/v1/refinance_form'), salesforce_hash)
44
47
  end
45
48
  end
@@ -31,11 +31,14 @@ module AFCSalesforce
31
31
 
32
32
  def send_to_salesforce
33
33
  Restforce.new(
34
- username: AFCSalesforce.configuration.salesforce_username,
35
- password: AFCSalesforce.configuration.salesforce_password,
36
- client_id: AFCSalesforce.configuration.salesforce_client_id,
37
- client_secret: AFCSalesforce.configuration.salesforce_client_secret,
38
- api_version: AFCSalesforce.configuration.salesforce_api_version
34
+ username: AFCSalesforce.configuration.salesforce_username,
35
+ password: AFCSalesforce.configuration.salesforce_password,
36
+ security_token: AFCSalesforce.configuration.salesforce_security_token,
37
+ client_id: AFCSalesforce.configuration.salesforce_client_id,
38
+ client_secret: AFCSalesforce.configuration.salesforce_client_secret,
39
+ api_version: AFCSalesforce.configuration.salesforce_api_version,
40
+ host: AFCSalesforce.configuration.salesforce_host,
41
+ authentication_callback: AFCSalesforce.configuration.salesforce_authentication_callback
39
42
  ).post(URI('/services/apexrest/v1/lead_form'), salesforce_hash)
40
43
  end
41
44
  end
@@ -1,3 +1,3 @@
1
1
  module AFCSalesforce
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: afc_salesforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donavan White
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-12 00:00:00.000000000 Z
11
+ date: 2017-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  version: '0'
188
188
  requirements: []
189
189
  rubyforge_project:
190
- rubygems_version: 2.6.8
190
+ rubygems_version: 2.5.2
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: Salesforce Library for the AFC Salesforce Instance