lib/pvoutput/client.rb in pvoutput-0.1.0 vs lib/pvoutput/client.rb in pvoutput-0.1.1

- old
+ new

@@ -5,11 +5,11 @@ include HTTParty base_uri 'pvoutput.org' # debug_output $stdout def initialize(system_id, api_key) - @system_id = system_id - @api_key = api_key + @system_id = system_id.to_s + @api_key = api_key.to_s self.class.headers 'X-Pvoutput-Apikey' => @api_key, 'X-Pvoutput-SystemId' => @system_id end # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity