Sha256: 40d95c27274fb324246372e2eda121224ab66008e821f06833f1effd9d3afb65

Contents?: true

Size: 366 Bytes

Versions: 18

Compression:

Stored size: 366 Bytes

Contents

class IugusdkConfigGenerator < Rails::Generators::Base
  source_root File.expand_path("../templates", __FILE__)

  argument :app_name, :type => :string, default: "myapp_name"

  def copy_initializer
    template "iugusdk.rb", "config/initializers/iugusdk.rb"
  end

  def copy_account_roles
    copy_file "account_roles.yml", "config/account_roles.yml"
  end
  
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
iugusdk-1.0.11 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.10 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.9 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.8 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.7 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.6 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.5 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.4 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.3 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.2 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.1 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.0.alpha.32 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.0.alpha.31 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.0.alpha.30 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.0.alpha.29 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.0.alpha.28 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.0.alpha.27 lib/generators/iugusdk_config_generator.rb
iugusdk-1.0.0.alpha.26 lib/generators/iugusdk_config_generator.rb