Add summer 2014 semester code
This commit is contained in:
parent
1f8d563b35
commit
3b5f7566e7
2 changed files with 5 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
conf/*.yml
|
conf/*.yml
|
||||||
|
.rbenv
|
||||||
|
|
5
check.rb
5
check.rb
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue