Sha256: c6de1b0acd448be88709181f64b40bf4583dc93d4aa2d24b044235ef28f7fed2

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

module ActiveTiger
  class Configuration
    def initialize
      config_path = File.join(RAILS_ROOT, "config", "activetiger", "#{RAILS_ENV}.yml")
      @config = YAML.load(File.read(config_path))
    end

    def username
      @config["username"]
    end

    def password
      @config["password"]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inventables-activetiger-0.1.0 lib/activetiger/configuration.rb