Class: RSpec::GraphqlAssistant::ArgumentBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/graphql_assistant/argument_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arguments_hash) ⇒ ArgumentBuilder

Returns a new instance of ArgumentBuilder.



6
7
8
# File 'lib/rspec/graphql_assistant/argument_builder.rb', line 6

def initialize(arguments_hash)
  @arguments_hash = arguments_hash
end

Instance Attribute Details

#arguments_hashObject (readonly)

Returns the value of attribute arguments_hash.



4
5
6
# File 'lib/rspec/graphql_assistant/argument_builder.rb', line 4

def arguments_hash
  @arguments_hash
end

Instance Method Details

#callObject



10
11
12
# File 'lib/rspec/graphql_assistant/argument_builder.rb', line 10

def call
  process_hash(arguments_hash)
end