Method: Senkyoshi::CanvasCourse.client
- Defined in:
- lib/senkyoshi/canvas_course.rb
.client ⇒ Object
Create a new pandarus instance to communicate with the canvas server
56 57 58 59 60 61 |
# File 'lib/senkyoshi/canvas_course.rb', line 56 def self.client @client ||= Pandarus::Client.new( prefix: Senkyoshi.configuration.canvas_url, token: Senkyoshi.configuration.canvas_token, ) end |