# File lib/simple_oauth/header.rb, line 19 def self.encode(value) URI.encode(value.to_s, /[^a-z0-9\-\.\_\~]/i) end