mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
refactored base codeclimate warnings
This commit is contained in:
parent
cda56c735f
commit
a8f1f885de
4 changed files with 3 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue