Class: Cf::Newform

Inherits:
Thor::Group
  • Object
show all
Includes:
Config, Thor::Actions
Defined in:
lib/cf/cli/form.rb

Overview

:nodoc: all

Instance Method Summary collapse

Methods included from Config

#config_file, #find_home, #get_api_key, #load_config, #save_config, #set_api_key, #set_target_uri

Instance Method Details

#generate_form_templateObject



12
13
14
15
# File 'lib/cf/cli/form.rb', line 12

def generate_form_template
  line_destination = Dir.pwd
  template("html_file.html.erb", "#{line_destination}/station#{station}.html")
end