def connection
      @connection ||= Faraday::Connection.new(:url => connection_url, :headers => connection_headers) do |builder|
        builder.adapter Faraday.default_adapter
        #builder.use Faraday::Response::Yajl
        builder.use Faraday::Response::ParseJson
        builder.use Faraday::Response::Mashify
      end
    end
def connection
      @connection ||= Faraday::Connection.new(:url => connection_url, :headers => connection_headers) do |builder|
        builder.adapter Faraday.default_adapter
        #builder.use Faraday::Response::Yajl
        builder.use Faraday::Response::ParseJson
        builder.use Faraday::Response::Mashify
      end
    end
Builds and returns the Faraday::Connection based on set options.