Class: Rage::OpenAPI::Nodes::Parent

Inherits:
Object
  • Object
show all
Defined in:
lib/rage/openapi/nodes/parent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(root, controller) ⇒ Parent

Returns a new instance of Parent.



7
8
9
10
11
12
# File 'lib/rage/openapi/nodes/parent.rb', line 7

def initialize(root, controller)
  @root = root
  @controller = controller

  @auth = []
end

Instance Attribute Details

#authObject

Returns the value of attribute auth.



5
6
7
# File 'lib/rage/openapi/nodes/parent.rb', line 5

def auth
  @auth
end

#controllerObject (readonly)

Returns the value of attribute controller.



4
5
6
# File 'lib/rage/openapi/nodes/parent.rb', line 4

def controller
  @controller
end

#deprecatedObject

Returns the value of attribute deprecated.



5
6
7
# File 'lib/rage/openapi/nodes/parent.rb', line 5

def deprecated
  @deprecated
end

#privateObject

Returns the value of attribute private.



5
6
7
# File 'lib/rage/openapi/nodes/parent.rb', line 5

def private
  @private
end

#rootObject (readonly)

Returns the value of attribute root.



4
5
6
# File 'lib/rage/openapi/nodes/parent.rb', line 4

def root
  @root
end