class GemsBond::Fetchers::Fetcher
Fetches data
Public Class Methods
new(param)
click to toggle source
Initializes an instance @param param [Object] Fetcher
dependent @return [GemsBond::Fetchers::Fetcher]
# File lib/gems_bond/fetchers/fetcher.rb, line 14 def initialize(param); end
Public Instance Methods
start()
click to toggle source
Starts the service and returns self @note rescue connection errors with nil
# File lib/gems_bond/fetchers/fetcher.rb, line 18 def start @started = true end
started?()
click to toggle source
Is the service started?
# File lib/gems_bond/fetchers/fetcher.rb, line 29 def started? @started end
stop()
click to toggle source
Starts the service and returns self @note rescue connection errors with nil
# File lib/gems_bond/fetchers/fetcher.rb, line 24 def stop @started = false end