lib/right_chimp/resources/Connection.rb in right_chimp-2.1.18 vs lib/right_chimp/resources/Connection.rb in right_chimp-2.1.19

- old
+ new

@@ -32,12 +32,11 @@ def self.connect self.start_right_api_client end def self.start_right_api_client - # Make sure to configure safe_yaml properly - SafeYAML::OPTIONS[:default_mode] = :safe - SafeYAML::OPTIONS[:deserialize_symbols] = true + require 'yaml' + require 'right_api_client' begin creds = YAML.load_file("#{ENV['HOME']}/.rest_connection/rest_api_config.yaml") # Extract the account