connection (ActiveResource::Base)

    # File lib/active_resource/base.rb, line 382
          def connection(refresh = false)
            if defined?(@connection) || superclass == Object
              @connection = Connection.new(site, format) if refresh || @connection.nil?
              @connection.proxy = proxy if proxy
              @connection.user = user if user
              @connection.password = password if password
              @connection.timeout = timeout if timeout
              @connection.ssl_options = ssl_options if ssl_options
              @connection
            else
              superclass.connection
            end
          end