def environment=(env)
      @environment = (env.to_s.downcase.strip == 'production') ? :production : :sandbox
      @uri = URI.parse(production? ? URI_PRODUCTION : URI_SANDBOX)
      @environment
    end
def environment=(env)
      @environment = (env.to_s.downcase.strip == 'production') ? :production : :sandbox
      @uri = URI.parse(production? ? URI_PRODUCTION : URI_SANDBOX)
      @environment
    end
Set the eBay environment to either *:sandbox* or *:production*.
 If the value of +env+ is not recognized :sandbox will be assumed.

 @param [Symbol] env :sandbox or :production
 @return [Symbol] :sandbox or :production