class Mashery::InstallGenerator
Public Instance Methods
create_initializer_file()
click to toggle source
# File lib/mashery/generator.rb, line 5 def create_initializer_file config = %Q{---\nsite_id: '123'\nkey: "abc"\nsecret: "xyz"\nhost: "api.mashery.com"} create_file "config/mashery.yml", config end