rd_person 0.0.1 → 0.0.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: 2379185bbea14e6371f038af7a29da33208ef6ae
4
- data.tar.gz: 8dae252b281bcbb997a48a10510e7764928ee98b
3
+ metadata.gz: ba5d276679c209e14f152ef6768262e6ba14bb8b
4
+ data.tar.gz: 170ba3652e10be4169b8ade86a766d84218f380e
5
5
  SHA512:
6
- metadata.gz: dce8ffada2d11c8e3f8051825b2ce108acecc510e0d7e81c190ea1499006f8d2f4913c41ac349c970e6879bf7a7a9c42e58cf7b28f342b5026025b837ecc60e0
7
- data.tar.gz: 187eaaf66322b91a867725644f98f5e7dca62d7bd7fcb38f3cbf64f802aa4d09267e5de7d99f858abf4ef4296aeca0cac1d44aa770127f4eb770f08f6992ba99
6
+ metadata.gz: b7bdbfbabd8cbe2fbddf34e44042862e20d8d5c8a19c3b33f763ab09642b6983247038877f1f5415c55ca7c700ade686e25bf9d4534e5fd8c349b58e16061c53
7
+ data.tar.gz: 40bfd95e827a2a6d725fd4d2c589f39d3509a71e6926de2e2a4eaa29480ec9eb9ea37decc991c23a9da0b0da053fd295be48cedb9a79caebd1b2015aa3a370c5
@@ -3,13 +3,13 @@ require 'restforce'
3
3
 
4
4
  class SalesforceClient
5
5
 
6
- def initialize()
6
+ def initialize(username, password, security_token, client_id, client_secret)
7
7
 
8
- @credential = Restforce.new :username => '',
9
- :password => '',
10
- :security_token => '',
11
- :client_id => '',
12
- :client_secret => ''
8
+ @credential = Restforce.new :username => username,
9
+ :password => password,
10
+ :security_token => security_token,
11
+ :client_id => client_id,
12
+ :client_secret => client_secret
13
13
  end
14
14
 
15
15
  def create(person)
@@ -1,3 +1,3 @@
1
1
  module RdPerson
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -4,7 +4,7 @@ require '../lib/rd_person/Person'
4
4
  describe '#SalesforceClient' do
5
5
 
6
6
  before do
7
- @new_salesforceclient = SalesforceClient.new
7
+ @new_salesforceclient = SalesforceClient.new('', '', '','', '')
8
8
  end
9
9
 
10
10
  context 'Create a new Lead' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rd_person
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - alessandrostein
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-31 00:00:00.000000000 Z
11
+ date: 2014-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler