Sha256: 87875f2c444527ff543ea381dba901af1e04ad4508ea7e17418dfe7b90ca56f0

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

module CredStash
  class << self
    def configure
      yield config
    end

    def config
      @config ||= Config.new
    end
  end

  class Config
    attr_accessor :table_name

    def initialize
      reset!
    end

    def reset!
      @table_name = 'credential-store'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rcredstash-0.4.0 lib/cred_stash/config.rb