class Restforce::Client

def list_sobjects

Returns an Array of String names for each SObject.

# => ['Account', 'Lead', ... ]
client.list_sobjects
# get the names of all sobjects on the org

Examples

Public: Get the names of all sobjects on the org.
def list_sobjects
  describe.collect { |sobject| sobject['name'] }
end