Sha256: aa464e295b24dd1c25753994f49f4e5592c4f6d2a13c7e3d853487aa1c83d6d3
Contents?: true
Size: 780 Bytes
Versions: 20
Compression:
Stored size: 780 Bytes
Contents
# frozen_string_literal: true module Evostream module Generators # Create a generator for Rails application class InitializerGenerator < Rails::Generators::Base desc 'Generate a initializer for evostream-event gem.' INITIALIZER = <<-INIT # frozen_string_literal: true Evostream::Service.configuration do |config| config.uri_in = 'http://server_stream.local:80' config.uri_out = 'http://server_stream.local:7777' config.name = 'srteamming_' config.web_root = '/var/www/html' config.model = ModelUsedInDatabase config.model_id = :identifier_used_in_model end INIT # Create initializer in Rails project def copy_initializer initializer 'evostream_event.rb', INITIALIZER end end end end
Version data entries
20 entries across 20 versions & 1 rubygems