class Redsquare::App

Constants

GET_COMMANDS
POST_COMMANDS

Public Instance Methods

try_to_i(str) click to toggle source
# File lib/redsquare/app.rb, line 100
def try_to_i(str)
  is_int = str.to_i.to_s == str
  is_int ? str.to_i : str
end