def describe(sobject_type)
      if sobject_type.is_a?(Array)
        response = call_soap_api(:describe_s_objects, sObjectType: sobject_type)
      else
        # Cache objects to avoid repeat lookups.
        if @describe_cache[sobject_type].nil?
          response = call_soap_api(:describe_s_object, sObjectType: sobject_type)
          @describe_cache[sobject_type] = response
        else
          response = @describe_cache[sobject_type]
        end
      end

      response
    end
def describe(sobject_type)
      if sobject_type.is_a?(Array)
        response = call_soap_api(:describe_s_objects, sObjectType: sobject_type)
      else
        # Cache objects to avoid repeat lookups.
        if @describe_cache[sobject_type].nil?
          response = call_soap_api(:describe_s_object, sObjectType: sobject_type)
          @describe_cache[sobject_type] = response
        else
          response = @describe_cache[sobject_type]
        end
      end

      response
    end
Public: Returns a detailed describe result for the specified sobject

 sobject - String name of the sobject.

 Examples

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

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

 Returns the Hash representation of the describe call.