Module: Rubee::AuthTokenable::ClassMethods
- Defined in:
- lib/rubee/controllers/extensions/auth_tokenable.rb
Instance Method Summary collapse
Instance Method Details
#_auth_methods ⇒ Object
92 93 94 |
# File 'lib/rubee/controllers/extensions/auth_tokenable.rb', line 92 def _auth_methods @auth_methods || [] end |
#auth_methods(*args) ⇒ Object
83 84 85 86 87 88 89 90 |
# File 'lib/rubee/controllers/extensions/auth_tokenable.rb', line 83 def auth_methods(*args) @auth_methods ||= [] @auth_methods.concat(args.map(&:to_sym)).uniq! @auth_methods.each do |method| around(method, :handle_auth) end end |