lib/tane/commands/support.rb in tane-0.0.2 vs lib/tane/commands/support.rb in tane-0.0.3

- old
+ new

@@ -1,21 +1,21 @@ class Tane::Commands::Support < Tane::Commands::Base class << self def process(args) - message = term.ask("Your message to the Bushido clan: ") - send_message_to_bushido(message) + message = term.ask("Your message to the Cloudfuji clan: ") + send_message_to_cloudfuji(message) end - def send_message_to_bushido(message) + def send_message_to_cloudfuji(message) support_data = {} support_data[:source] = "tane" support_data[:email] = email_from_credentials_or_prompt support_data[:message] = message RestClient.post support_url, support_data - term.say("Send the bushido team your message:") + term.say("Send the cloudfuji team your message:") term.say("\t#{message}") term.say("Boy are they gonna be excited to hear from you, #{support_data[:email]}") end def email_from_credentials_or_prompt @@ -27,10 +27,10 @@ <<-EOL Usage: tane support -Prompts you for a message to send to the Bushido team. +Prompts you for a message to send to the Cloudfuji team. EOL end end end