lib/tokyo_api/base.rb in tokyo_api-1.5.1 vs lib/tokyo_api/base.rb in tokyo_api-1.6.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module TokyoApi class Base < Vertebrae::Model def normalized_base_path "#{base_path}/" end @@ -8,12 +10,12 @@ CGI.escape(string.to_s) end def required_fields_param(required_fields) if required_fields.present? - "required_fields=#{required_fields.collect{|v| url_escape(v.to_s)}.join(',')}" + "required_fields=#{required_fields.collect { |v| url_escape(v.to_s) }.join(',')}" else '' end end end -end \ No newline at end of file +end