lib/atrium/connect.rb in atrium-ruby-1.2.3 vs lib/atrium/connect.rb in atrium-ruby-1.3.0

- old
+ new

@@ -18,10 +18,10 @@ ## # CLASS METHODS # def self.create(user_guid:, options: {}) - options.each do |key, _value| + options.each_key do |key| fail ArgumentError, "An invalid option was provided: #{key}" unless PERMITTED_CONNECT_CREATE_OPTIONS.include?(key.to_s) end endpoint = "/users/#{user_guid}/connect_widget_url" connect_response = ::Atrium.client.make_request(:post, endpoint, options)