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