salesforce_connector_light 0.0.2 → 0.0.3

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.
@@ -22,13 +22,13 @@ module SalesforceConnector
22
22
  def self.sobjects
23
23
  self.set_headers
24
24
  result = get(self.root_url+"/sobjects")
25
- return result.parsed_response["sobjects"] || []
25
+ return result.parsed_response["sobjects"] || {}
26
26
  end
27
27
 
28
28
  def self.describe_sobject(str)
29
29
  self.set_headers
30
30
  result = get(self.root_url+"/sobjects/#{str.capitalize}/describe")
31
- return result.parsed_response["objectDescribe"] || []
31
+ return result.parsed_response || {}
32
32
  end
33
33
 
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module SalesforceConnector
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Vzmind