Sha256: 11ed13ad840527845f9aa92334d7a404c098020a9424fcfe626fc7d50f8df239

Contents?: true

Size: 365 Bytes

Versions: 8

Compression:

Stored size: 365 Bytes

Contents

# A rails generator `vkontakte_api:install`.
# It creates a config file in `config/initializers/vkontakte_api.rb`.
class WialonApi::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  # Creates the config file.
  def create_initializer
    copy_file 'initializer.rb', 'config/initializers/wialon_api.rb'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wialon_api-0.0.8 lib/generators/wialon_api/install/install_generator.rb
wialon_api-0.0.7 lib/generators/wialon_api/install/install_generator.rb
wialon_api-0.0.6 lib/generators/wialon_api/install/install_generator.rb
wialon_api-0.0.5 lib/generators/wialon_api/install/install_generator.rb
wialon_api-0.0.4 lib/generators/wialon_api/install/install_generator.rb
wialon_api-0.0.3 lib/generators/wialon_api/install/install_generator.rb
wialon_api-0.0.2 lib/generators/wialon_api/install/install_generator.rb
wialon_api-0.0.1 lib/generators/wialon_api/install/install_generator.rb