Skip to content
This repository was archived by the owner on Jun 6, 2018. It is now read-only.

Commit 7ba1f14

Browse files
committed
Merge pull request #5 from leifg/org_id_fix
Access to OrgId only possbile through connection
2 parents 7b49b84 + dd1e770 commit 7ba1f14

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.1.1 (June 21th, 2013)
2+
3+
- Now really make OrgId accessible
4+
15
## 1.1.0 (June 16th, 2013)
26

37
- Add possibility to fetch OrgId after login

lib/executrix.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ def initialize(username, password, sandbox = false, api_version = SALESFORCE_API
1616
sandbox)
1717
end
1818

19+
def org_id
20+
@connection.org_id
21+
end
22+
1923
def upsert(sobject, records, external_field)
2024
start_job('upsert', sobject, records, external_field)
2125
end

lib/executrix/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Executrix
2-
VERSION = '1.1.0'
2+
VERSION = '1.1.1'
33
end

0 commit comments

Comments
 (0)