1
0
Fork 0

Add summer 2014 semester code

This commit is contained in:
Andrew Tomaka 2014-03-17 10:50:37 -04:00
parent 1f8d563b35
commit 3b5f7566e7
2 changed files with 5 additions and 3 deletions

3
.gitignore vendored
View file

@ -1 +1,2 @@
conf/*.yml conf/*.yml
.rbenv

View file

@ -11,7 +11,8 @@ settings = YAML.load_file('conf/settings.yml')
semesters = { semesters = {
'US13' => 'US131132summer 2013', 'FS13' => 'FS131134fall 2013', 'US13' => 'US131132summer 2013', 'FS13' => 'FS131134fall 2013',
'SS13' => 'SS141136spring 2014' 'SS14' => 'SS141136spring 2014',
'US14' => 'US141142summer 2014',
} }
semester = ARGV.shift semester = ARGV.shift
@ -50,7 +51,7 @@ courses.each do |course|
end end
if open.length > 0 if open.length > 0
@client = Twilio::REST::Client.new settings['twilio']['sid'], @client = Twilio::REST::Client.new settings['twilio']['sid'],
settings['twilio']['token'] settings['twilio']['token']
@call = @client.account.calls.create( @call = @client.account.calls.create(