Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/food_info/utils.rb

Instance Method Summary collapse

Instance Method Details

#oauth_escapeObject



4
5
6
# File 'lib/food_info/utils.rb', line 4

def oauth_escape
  CGI.escape(self).gsub("%7E", "~").gsub("+", "%20") 
end