lib/japanda.rb in japanda-0.1.0 vs lib/japanda.rb in japanda-0.1.1
- old
+ new
@@ -1,16 +1,5 @@
require 'japanda/version'
require 'securerandom'
-require 'dotenv'
module Japanda
- Dotenv.load
- CANVAS_USER_DOMAIN ||= ENV['CANVAS_USER_DOMAIN']
- CANVAS_API_V1 ||= "#{ENV['CANVAS_API_HOST']}/api/v1"
- CANVAS_AUTH_HEADER ||= {
- Authorization: "Bearer #{ENV['CANVAS_API_TOKEN']}",
- content_type: 'application/json'
- }
- CANVAS_ACCOUNT_ID ||= ENV['CANVAS_ACCOUNT_ID']
- GALLERY_API_TOKEN ||= ENV['GALLERY_API_TOKEN']
- GALLERY_API_HOST = ENV['GALLERY_API_HOST']
end