lib/contentful/client.rb
def do_build_resource(response)
      logger.debug(response: response) if logger
      configuration[:resource_builder].new(
        response.object,
        configuration.merge(endpoint: response.request.endpoint),
        (response.request.query || {}).fetch(:locale, nil) == '*',
        0
      ).run
    end
def do_build_resource(response)
      logger.debug(response: response) if logger
      configuration[:resource_builder].new(
        response.object,
        configuration.merge(endpoint: response.request.endpoint),
        (response.request.query || {}).fetch(:locale, nil) == '*',
        0
      ).run
    end
def do_build_resource ( response ) logger . debug ( response : response ) if logger configuration [ :resource_builder ] . new ( response . object , configuration . merge ( endpoint : response . request . endpoint ) , ( response . request . query || { } ) . fetch ( :locale , nil ) == '*' , 0 ) . run end
Runs Resource Builder
 @private
Runs Resource Builder