Sha256: c98c19a70fb25afd4c116bf508e452c2752c7f7255ab7dca95634d3fa0b88186

Contents?: true

Size: 298 Bytes

Versions: 4

Compression:

Stored size: 298 Bytes

Contents

require 'rails/generators'

class MasheryInstallGenerator < Rails::Generators::Base
  desc "Create mashery.yml config file"
  def create_initializer_file
    config = %q{---\nsite_id: '123'\nkey: "abc"\nsecret: "xyz"\nhost: "api.mashery.com"}
    create_file "config/mashery.yml", config
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mashery_rails-0.6.9.pre4 lib/generators/mashery_install_generator.rb
mashery_rails-0.6.9.pre3 lib/generators/mashery_install_generator.rb
mashery_rails-0.6.9.pre1 lib/generators/mashery_install_generator.rb
mashery_rails-0.6.8 lib/generators/mashery_install_generator.rb