refactored base codeclimate warnings

This commit is contained in:
olegphenomenon 2022-01-24 15:50:20 +02:00
parent cda56c735f
commit a8f1f885de
4 changed files with 3 additions and 8 deletions

View file

@ -34,8 +34,7 @@ module EisBilling
'Accept' => TOKEN
}
res = http.post(invoice_generator_url, json_obj.to_json, headers)
res
http.post(invoice_generator_url, json_obj.to_json, headers)
end
def invoice_generator_url

View file

@ -8,8 +8,5 @@ module EisBilling
# => "PLEASE CREATE INVOICE"
TOKEN = 'Bearer WA9UvDmzR9UcE5rLqpWravPQtdS8eDMAIynzGdSOTw==--9ZShwwij3qmLeuMJ--NE96w2PnfpfyIuuNzDJTGw=='.freeze
BASE_URL = ENV['eis_billing_system_base_url']
protected
end
end