Sha256: 8dd8149404cec014dcbc45cb6451a659fd402e358044715fb63c1c149c354952
Contents?: true
Size: 881 Bytes
Versions: 32
Compression:
Stored size: 881 Bytes
Contents
# frozen_string_literal: true # # # # AUTO GENERATED MIGRATION # This migration was auto generated by the CanvasSync Gem. # You can add new columns to this table, but removing or # re-naming ones created here may break Canvas Syncing. # class LearningOutcome < ApplicationRecord include CanvasSync::Record include CanvasSync::Concerns::ApiSyncable belongs_to :context, polymorphic: true, optional: true, primary_key: :canvas_id, foreign_key: :canvas_context_id, foreign_type: :canvas_context_type api_syncable({ canvas_id: :id, canvas_context_id: :context_id, canvas_context_type: :context_type, name: :title, friendly_name: :display_name, vendor_guid: :vendor_guid, calculation_method: :calculation_method, calculation_int: :calculation_int, description: :description }, ->(api) { api.get("/api/v1/outcomes/#{canvas_id}") }) end
Version data entries
32 entries across 32 versions & 1 rubygems