Class: MarbleGate::Authorizer
- Inherits:
-
Object
- Object
- MarbleGate::Authorizer
- Defined in:
- lib/marble_gate/authorizer.rb
Instance Attribute Summary collapse
-
#model ⇒ Object
readonly
Returns the value of attribute model.
Class Method Summary collapse
Instance Method Summary collapse
- #default ⇒ Object
-
#initialize(model) ⇒ Authorizer
constructor
A new instance of Authorizer.
Constructor Details
#initialize(model) ⇒ Authorizer
Returns a new instance of Authorizer.
9 10 11 |
# File 'lib/marble_gate/authorizer.rb', line 9 def initialize(model) @model = model end |
Instance Attribute Details
#model ⇒ Object (readonly)
Returns the value of attribute model.
7 8 9 |
# File 'lib/marble_gate/authorizer.rb', line 7 def model @model end |
Class Method Details
.default ⇒ Object
13 14 15 |
# File 'lib/marble_gate/authorizer.rb', line 13 def self.default(*) false end |
Instance Method Details
#default ⇒ Object
17 18 19 |
# File 'lib/marble_gate/authorizer.rb', line 17 def default(*) false end |