Skip to content

Commit

Permalink
Merge 30f9b36 into 5404000
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Oct 17, 2017
2 parents 5404000 + 30f9b36 commit b1ea5f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion lib/kosapi_client/entity/exam.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'date'

module KOSapiClient
module Entity
class Exam < BaseEntity
Expand All @@ -18,7 +20,7 @@ class Exam < BaseEntity
map_data :start_date, Time
map_data :substitutes, Enum
map_data :superior, Link
map_data :term_type, Enum
map_data :term_type, Enum

end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/kosapi_client/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module KOSapiClient
VERSION = '0.5.0'
VERSION = '0.5.1'
end
8 changes: 4 additions & 4 deletions spec/support/client_helpers.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module ClientHelpers

def create_kosapi_client
credentials = {
client_id: ENV['KOSAPI_OAUTH_CLIENT_ID'],
client_secret: ENV['KOSAPI_OAUTH_CLIENT_SECRET']
credentials = {
client_id: ENV['KOSAPI_OAUTH_CLIENT_ID'],
client_secret: ENV['KOSAPI_OAUTH_CLIENT_SECRET']
}
KOSapiClient.new(credentials)
end

end

0 comments on commit b1ea5f9

Please sign in to comment.