Module: Polyglot::Sync

Defined in:
lib/polyglot/sync.rb,
lib/polyglot/sync/engine.rb,
lib/polyglot/sync/version.rb,
app/jobs/polyglot/sync/application_job.rb,
app/models/polyglot/sync/application_record.rb,
app/helpers/polyglot/sync/application_helper.rb,
app/mailers/polyglot/sync/application_mailer.rb,
app/controllers/polyglot/sync/hooks_controller.rb,
app/controllers/polyglot/sync/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Configuration, Engine, Error, HooksController

Constant Summary collapse

VERSION =
'0.2.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



15
16
17
# File 'lib/polyglot/sync.rb', line 15

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



18
19
20
21
# File 'lib/polyglot/sync.rb', line 18

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end