Sha256: 976efacf9a517096ae675c5086e3c9c6cfaeda98d99af5639ecff5e5362af7c8
Contents?: true
Size: 755 Bytes
Versions: 20
Compression:
Stored size: 755 Bytes
Contents
require 'singleton' module EtFakeCcd class Config include Singleton attr_accessor :microservice, :microservice_secret, :valid_credentials, :oauth2_client_id, :oauth2_redirect_url attr_accessor :file_storage_path end Config.instance.tap do |c| c.microservice = 'ccd_gw' c.microservice_secret = 'AAAAAAAAAAAAAAAC' c.valid_credentials = [ {username: 'm@m.com', password: 'p'}, {username: 'm@m.com', password: 'Pa55word11'} ] c.oauth2_client_id = "ccd_gateway" c.oauth2_redirect_url = "http://localhost:3451/oauth2redirect" # The contents of this at the moment are not important c.file_storage_path = File.join Dir.pwd, 'tmp', 'file_storage' FileUtils.mkdir_p(c.file_storage_path) end end
Version data entries
20 entries across 20 versions & 1 rubygems