Packages

This is a first attempt at an API client for the Canvas LMS

Current section

Files

Jump to
bearcat_phoenix lib bearcat_phoenix.ex
Raw

lib/bearcat_phoenix.ex

defmodule BearcatPhoenix do
require BearcatPhoenix.Client.Course
require BearcatPhoenix.Client.Report
def parse_response(response) do
if HTTPotion.Response.success?(response) do
Poison.decode(response.body)
else
response
end
end
end