Method: CanvasSync.get_canvas_sync_client
- Defined in:
- lib/canvas_sync.rb
.get_canvas_sync_client(options) ⇒ Object
Calls the canvas_sync_client in your app. If you have specified an account ID when starting the job it will pass the account ID to your canvas_sync_client method.
270 271 272 273 274 275 276 |
# File 'lib/canvas_sync.rb', line 270 def get_canvas_sync_client() if [:account_id] canvas_sync_client([:account_id]) else canvas_sync_client end end |