Class: PlatformosCheck::GraphqlInForLoop::PartialInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/platformos_check/checks/graphql_in_for_loop.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(node:, app_file:) ⇒ PartialInfo

Returns a new instance of PartialInfo.



15
16
17
18
# File 'lib/platformos_check/checks/graphql_in_for_loop.rb', line 15

def initialize(node:, app_file:)
  @node = node
  @app_file = app_file
end

Instance Attribute Details

#app_fileObject (readonly)

Returns the value of attribute app_file.



13
14
15
# File 'lib/platformos_check/checks/graphql_in_for_loop.rb', line 13

def app_file
  @app_file
end

#nodeObject (readonly)

Returns the value of attribute node.



13
14
15
# File 'lib/platformos_check/checks/graphql_in_for_loop.rb', line 13

def node
  @node
end