class Rox::Core::ConfigurationFetchedArgs

Attributes

creation_date[RW]
error_details[RW]
fetcher_status[RW]
has_changes[RW]

Public Class Methods

error(error_details) click to toggle source
# File lib/rox/core/configuration/configuration_fetched_args.rb, line 16
def self.error(error_details)
  args = ConfigurationFetchedArgs.new(FetcherStatus::ERROR_FETCHED_FAILED, nil, false)
  args.error_details = error_details
  args
end
new(fetcher_status, creation_date, has_changes) click to toggle source
# File lib/rox/core/configuration/configuration_fetched_args.rb, line 9
def initialize(fetcher_status, creation_date, has_changes)
  @fetcher_status = fetcher_status
  @creation_date = creation_date
  @has_changes = has_changes
  @error_details = FetcherError::NO_ERROR
end