Method: ActiveGraphql::Model::Configuration#initialize_copy

Defined in:
lib/active_graphql/model/configuration.rb

#initialize_copy(other) ⇒ Object



26
27
28
29
30
31
32
33
# File 'lib/active_graphql/model/configuration.rb', line 26

def initialize_copy(other)
  super
  @attributes = other.attributes.dup
  @graphql_client = other.graphql_client
  @url = other.url.dup
  @resource_name = other.resource_name.dup
  @resource_plural_name = other.resource_plural_name.dup
end