lib/parker.rb
# Sends the collated announcements to the specified hipchat room as Parker,
# generating a notification within that room
Sends the collated announcements to the specified hipchat room as Parker,
generating a notification within that room
Sends the collated announcements to the specified hipchat room as Parker generating a notification within that room
def go!(options = {})
      case options[:client]
      when 'hipchat'
        send_hipchat_message
      when 'slack'
        send_slack_message
      else
        puts 'ERROR: Please specify hipchat or slack as arguments.'.red
      end
      begin
        puts cli_message options[:client]
      rescue
        nil
      end
    end
def go! ( options = { } ) case options [ :client ] when 'hipchat' send_hipchat_message when 'slack' send_slack_message else puts 'ERROR: Please specify hipchat or slack as arguments.' . red end begin puts cli_message options [ :client ] rescue nil end end
Sends the collated announcements to the specified hipchat room as Parker,
generating a notification within that room
Sends the collated announcements to the specified hipchat room as Parker generating a notification within that room
options
<not_specific>