Sha256: 76485075fc947861578723f1a253d9c876f4c81fc8ef989f6710157eb416e599
Contents?: true
Size: 586 Bytes
Versions: 2
Compression:
Stored size: 586 Bytes
Contents
module PlayTime class Configuration DEFAULT_CONFIG = 'config/play_time.yml'.freeze OPTIONS = %w( apk_path client_name client_version secret_path secret_passphrase issuer package_name ).freeze def initialize(config) @config = config end OPTIONS.each do |config_name| eval <<-RUBY def #{config_name} # def config_option config["#{config_name}"] # config['config_option'] end # end RUBY end private attr_reader :config end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
play_time-0.0.2 | lib/play_time/configuration.rb |
play_time-0.0.1 | lib/play_time/configuration.rb |