Class: ActiveEntry::Base::Authorization
- Inherits:
-
ActiveEntry::Base
- Object
- ActiveEntry::Base
- ActiveEntry::Base::Authorization
- Defined in:
- lib/active_entry/base.rb
Direct Known Subclasses
Constant Summary collapse
- AUTH_ERROR =
NotAuthorizedError
Class Method Summary collapse
Methods inherited from ActiveEntry::Base
#initialize, #pass!, #pass?, #success
Constructor Details
This class inherits a constructor from ActiveEntry::Base
Class Method Details
.pass!(method_name, **args) ⇒ Object
18 19 20 |
# File 'lib/active_entry/base.rb', line 18 def self.pass! method_name, **args new(method_name, **args).pass! end |
.pass?(method_name, **args) ⇒ Boolean
22 23 24 |
# File 'lib/active_entry/base.rb', line 22 def self.pass? method_name, **args new(method_name, **args).pass? end |