Sha256: 9e31d2763296581015fa8362b10b4aaef9838c53d655707820d4d0c706187518
Contents?: true
Size: 864 Bytes
Versions: 2
Compression:
Stored size: 864 Bytes
Contents
# frozen_string_literal: true module Kobot # Configuration definition includes static ones hardcoded and # dynamic ones that can be specified by command line options. class Config class << self attr_accessor :clock, :loglevel, :skip, :dryrun attr_accessor :kot_url, :kot_timezone_offset, :kot_date_format attr_accessor :gmail_notify_enabled, :gmail_notify_subject, :gmail_notify_to, :gmail_smtp_address, :gmail_smtp_port attr_accessor :browser_headless, :browser_geolocation, :browser_wait_timeout attr_accessor :credentials_file def configure yield self end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kobot-1.1.0 | lib/kobot/config.rb |
kobot-1.0.0 | lib/kobot/config.rb |