Module: SQSPoller::Util
- Defined in:
- lib/sqspoller/util.rb
Class Method Summary collapse
Class Method Details
.config_files ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/sqspoller/util.rb', line 5 def config_files cfg_file_paths = ['/etc/sqspoller/config.yml'] if ENV['HOME'] cfg_file_paths << '~/.sqspoller/config.yml' end cfg_file_paths end |
.get_timestamp_utc ⇒ Object
13 14 15 |
# File 'lib/sqspoller/util.rb', line 13 def Time.now.utc end |