Class: Apia::RouteGroup
- Inherits:
-
Definition
- Object
- Definition
- Apia::RouteGroup
- Defined in:
- lib/apia/route_group.rb
Instance Attribute Summary collapse
-
#default_controller ⇒ Object
Returns the value of attribute default_controller.
-
#groups ⇒ Object
readonly
Returns the value of attribute groups.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Attributes inherited from Definition
#description, #id, #name, #schema
Instance Method Summary collapse
-
#initialize(id, parent) ⇒ RouteGroup
constructor
rubocop:disable Lint/MissingSuper.
Methods inherited from Definition
Constructor Details
#initialize(id, parent) ⇒ RouteGroup
rubocop:disable Lint/MissingSuper
11 12 13 14 15 |
# File 'lib/apia/route_group.rb', line 11 def initialize(id, parent) @id = id @parent = parent @groups = [] end |
Instance Attribute Details
#default_controller ⇒ Object
Returns the value of attribute default_controller.
7 8 9 |
# File 'lib/apia/route_group.rb', line 7 def default_controller @default_controller end |
#groups ⇒ Object (readonly)
Returns the value of attribute groups.
8 9 10 |
# File 'lib/apia/route_group.rb', line 8 def groups @groups end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
6 7 8 |
# File 'lib/apia/route_group.rb', line 6 def parent @parent end |