def faraday_configuration
      @faraday_configuration ||= Faraday.new(:url => @management_console_endpoint) do |http|
        http.headers[:user_agent] = user_agent
        http.request :multipart
        http.request :url_encoded

        # Disabling SSL is essential for certain self-hosted Enterprise instances
        if self.connection_options[:ssl] && !self.connection_options[:ssl][:verify]
          http.ssl[:verify] = false
        end

        http.use Octokit::Response::RaiseError
        http.adapter Faraday.default_adapter
      end
    end
def faraday_configuration
      @faraday_configuration ||= Faraday.new(:url => @management_console_endpoint) do |http|
        http.headers[:user_agent] = user_agent
        http.request :multipart
        http.request :url_encoded

        # Disabling SSL is essential for certain self-hosted Enterprise instances
        if self.connection_options[:ssl] && !self.connection_options[:ssl][:verify]
          http.ssl[:verify] = false
        end

        http.use Octokit::Response::RaiseError
        http.adapter Faraday.default_adapter
      end
    end
We fall back to raw Faraday for handling the licenses because I'm suspicious
 that Sawyer isn't handling binary POSTs correctly: http://git.io/jMir