Class: Mj::GraphQL::Commands::QueryFileCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/mj/graphql/commands/query_file_command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file, options) ⇒ QueryFileCommand

Returns a new instance of QueryFileCommand.



10
11
12
13
# File 'lib/mj/graphql/commands/query_file_command.rb', line 10

def initialize(file, options)
  @file = file
  @options = options
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



7
8
9
# File 'lib/mj/graphql/commands/query_file_command.rb', line 7

def file
  @file
end

#optionsObject (readonly)

Returns the value of attribute options.



8
9
10
# File 'lib/mj/graphql/commands/query_file_command.rb', line 8

def options
  @options
end