Sha256: 2e5af75efc0af46827c3efd51cb4df079ba131a58305df7255406ecd68a721f5

Contents?: true

Size: 749 Bytes

Versions: 4

Compression:

Stored size: 749 Bytes

Contents

module G5Updatable
  class Engine < ::Rails::Engine
    isolate_namespace G5Updatable

    config.generators do |g|
      g.test_framework :rspec
      g.fixture_replacement :fabrication, dir: 'spec/fabricators'
      g.assets false
      g.helper false
    end
  end

  class << self
    mattr_accessor :client_identifier, :feed_endpoint, :location_parameters,
                   :client_parameters, :update_client, :update_locations

    self.client_identifier   = nil
    self.feed_endpoint       = "http://g5-hub.herokuapp.com/clients/"
    self.location_parameters = [:name]
    self.client_parameters   = [:name]
    self.update_client       = false
    self.update_locations    = true
  end

  def self.setup(&block)
    yield self
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
g5_updatable-0.2.1 lib/g5_updatable/engine.rb
g5_updatable-0.2.0 lib/g5_updatable/engine.rb
g5_updatable-0.1.0 lib/g5_updatable/engine.rb
g5_updatable-0.0.1 lib/g5_updatable/engine.rb