Module: Shortly::Helper::MonkeyPatches::MonkeyHash
- Defined in:
- lib/shortly/helper.rb
Instance Method Summary (collapse)
Instance Method Details
- (Boolean) authenticable?(*args)
35 36 37 |
# File 'lib/shortly/helper.rb', line 35 def authenticable?(*args) args.all?{|k| self.key?(k)} && !self.values.any?(&:blank?) end |