Class: Lockdown::Controller

Inherits:
Object
  • Object
show all
Defined in:
lib/lockdown/permission.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Controller

Returns a new instance of Controller.



8
9
10
# File 'lib/lockdown/permission.rb', line 8

def initialize(name)
  @name = name
end

Instance Attribute Details

#access_methodsObject

Returns the value of attribute access_methods.



6
7
8
# File 'lib/lockdown/permission.rb', line 6

def access_methods
  @access_methods
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/lockdown/permission.rb', line 6

def name
  @name
end