lib/panoptes/client/users.rb in panoptes-client-1.0.0.pre1 vs lib/panoptes/client/users.rb in panoptes-client-1.0.0

- old
+ new

@@ -1,10 +1,12 @@ +# frozen_string_literal: true + module Panoptes class Client module Users def user(user_id) response = panoptes.get("users/#{user_id}") - response.fetch("users").find{ |i| i.fetch("id").to_s == user_id.to_s } + response.fetch('users').find { |i| i.fetch('id').to_s == user_id.to_s } end end end end