Skip to content

Instantly share code, notes, and snippets.

{
"product_instance": { },
"service_offered": [ ],
"base_url_choice": [ ],
"message": [
{
"message_type": "basic-lti-launch-request",
"path": “https://acme.example.com/lti/launch”,
"parameter": [
{
@rivernate
rivernate / auburn.rb
Created January 29, 2013 00:56
Auburn report
module Canvas::AccountReports
class Auburn
include Api
include Canvas::ReportHelpers::DateHelper
def self.course_status_csv(account_report)
Auburn.new(account_report).course_status
end
def initialize(account_report)
@rivernate
rivernate / auburn_reports_spec.rb
Created January 29, 2013 00:53
Auburn report spec
require File.expand_path(File.dirname(__FILE__) + '../../../account_reports/spec_canvas/reports_helper')
describe "Auburn custom reports" do
it "should run course status report" do
Notification.find_or_create_by_name("Report Generated")
Notification.find_or_create_by_name("Report Generation Failed")
@account = Account.default
sub_account = Account.create(:parent_account => @account, :name => 'English')
@rivernate
rivernate / database.yml
Created January 14, 2013 20:29
canvas yaml
# do not create a queue: section for your test environment
test:
adapter: postgresql
encoding: utf8
database: canvas_test
host: localhost
username: canvas
password: canvas
timeout: 5000
@rivernate
rivernate / dabblet.css
Created May 7, 2012 20:56
Notifications Form
/**
* Notifications Form
*/
.cw_email_list{
width:175px;
border: 1px solid;
border-radius:5px 5px;
}