lib/braintree/base_module.rb in braintree-2.100.0 vs lib/braintree/base_module.rb in braintree-2.101.0
- old
+ new
@@ -16,9 +16,13 @@
end
end
def set_instance_variables_from_hash(hash)
hash.each do |key, value|
+ if key == :global_id
+ instance_variable_set "@graphql_id", value
+ end
+
instance_variable_set "@#{key}", value
end
end
def singleton_class