module Shortly::Helper::MonkeyPatches::MonkeyHash

Public Instance Methods

authenticable?(*args) click to toggle source
# File lib/shortly/helper.rb, line 35
def authenticable?(*args)
  args.all?{|k| self.key?(k)} && !self.values.any?(&:blank?)
end
to_params() click to toggle source
# File lib/shortly/helper.rb, line 39
def to_params
  collect do |key, value|
    "#{key}=#{value}"
  end.sort * '&'
end