Method: Databasedotcom::Client#describe_sobjects
- Defined in:
- lib/databasedotcom/client.rb
#describe_sobjects ⇒ Object
Returns an Array of Hashes listing the properties for every type of Sobject in the database. Raises SalesForceError if an error occurs.
174 175 176 177 |
# File 'lib/databasedotcom/client.rb', line 174 def describe_sobjects result = http_get("/services/data/v#{self.version}/sobjects") JSON.parse(result.body)["sobjects"] end |