Class: Activejob::GoogleCloudTasks::Config
- Inherits:
-
Object
- Object
- Activejob::GoogleCloudTasks::Config
- Defined in:
- lib/activejob/google_cloud_tasks/config.rb
Constant Summary collapse
- DEFAULT_PATH =
'/activejobs'
Class Method Summary collapse
Class Method Details
.path ⇒ Object
6 7 8 |
# File 'lib/activejob/google_cloud_tasks/config.rb', line 6 def self.path @path.presence || DEFAULT_PATH end |
.path=(path) ⇒ Object
10 11 12 13 |
# File 'lib/activejob/google_cloud_tasks/config.rb', line 10 def self.path=(path) raise "path can't be blank" unless path.present? @path = path end |