Class: Activejob::GoogleCloudTasks::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/activejob/google_cloud_tasks/config.rb

Constant Summary collapse

DEFAULT_PATH =
'/activejobs'

Class Method Summary collapse

Class Method Details

.pathObject



6
7
8
# File 'lib/activejob/google_cloud_tasks/config.rb', line 6

def self.path
  defined?(@path) ? @path : DEFAULT_PATH
end

.path=(path) ⇒ Object



10
11
12
# File 'lib/activejob/google_cloud_tasks/config.rb', line 10

def self.path=(path)
  @path = path ? path : DEFAULT_PATH
end