class Restforce::Client

def describe(sobject)

Returns the Hash representation of the describe call.

# => { ... }
client.describe('Account')
# get the describe for the Account object

Examples

sobject - Stringish name of the sobject (default: nil).

Public: Returns a detailed describe result for the specified sobject
def describe(sobject)
  response = api_get "sobject/#{sobject.to_s}/describe"
  response.body
end