Sha256: 971a67eee7e6cecfa3ee2c4faa6817bb6189b9d8aa8f9010011b6cd2668444f0
Contents?: true
Size: 310 Bytes
Versions: 5
Compression:
Stored size: 310 Bytes
Contents
module Slurper class Config def self.project_id; @project_id ||= yaml['project_id'] end def self.requested_by; @requested_by ||= yaml['requested_by'] end def self.token; @token ||= yaml['token'] end private def self.yaml YAML.load_file('slurper_config.yml') end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
slurper-2.2.2 | lib/slurper/config.rb |
slurper-2.2.1 | lib/slurper/config.rb |
slurper-2.2.0 | lib/slurper/config.rb |
slurper-2.1.0 | lib/slurper/config.rb |
slurper-2.0.0 | lib/slurper/config.rb |