Class: AuthorizedRailsScaffolds::Configuration

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

Overview

Configuration Value Property

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



10
11
12
13
# File 'lib/authorized_rails_scaffolds.rb', line 10

def initialize
  self.parent_models = []
  self.shallow_routes = false
end

Instance Attribute Details

#parent_modelsObject

Returns the value of attribute parent_models.



7
8
9
# File 'lib/authorized_rails_scaffolds.rb', line 7

def parent_models
  @parent_models
end

#shallow_routesObject

Returns the value of attribute shallow_routes.



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

def shallow_routes
  @shallow_routes
end