Sha256: b4e2aee41e82c2b3abdb36c0003491362904efcc21f2401ac90130fbdaddff86
Contents?: true
Size: 608 Bytes
Versions: 6
Compression:
Stored size: 608 Bytes
Contents
require 'singleton' module EtFakeCcd class Config include Singleton attr_accessor :microservice, :microservice_secret, :valid_credentials, :oauth2_client_id, :oauth2_redirect_url 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 end end
Version data entries
6 entries across 6 versions & 1 rubygems