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

Version Path
et_fake_ccd-0.1.15 lib/et_fake_ccd/config.rb
et_fake_ccd-0.1.14 lib/et_fake_ccd/config.rb
et_fake_ccd-0.1.13 lib/et_fake_ccd/config.rb
et_fake_ccd-0.1.12 lib/et_fake_ccd/config.rb
et_fake_ccd-0.1.11 lib/et_fake_ccd/config.rb
et_fake_ccd-0.1.10 lib/et_fake_ccd/config.rb