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

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'panoptes/endpoints/json_api_endpoint' require 'panoptes/endpoints/json_endpoint' require 'panoptes/client/authentication' require 'panoptes/client/cellect' @@ -64,22 +66,22 @@ ) end def panoptes_url case env - when :production, 'production'.freeze - 'https://panoptes.zooniverse.org'.freeze + when :production, 'production' + 'https://panoptes.zooniverse.org' else - 'https://panoptes-staging.zooniverse.org'.freeze + 'https://panoptes-staging.zooniverse.org' end end def talk_url case env - when :production, 'production'.freeze - 'https://talk.zooniverse.org'.freeze + when :production, 'production' + 'https://talk.zooniverse.org' else - 'https://talk-staging.zooniverse.org'.freeze + 'https://talk-staging.zooniverse.org' end end end end