Sha256: 222c4cfa5617c5d2c642e9fec7fa78a8685232251356b329494bf0b7ff722a1b
Contents?: true
Size: 489 Bytes
Versions: 2
Compression:
Stored size: 489 Bytes
Contents
# # AUTO GENERATED MODEL # This model was auto generated by the CanvasSync Gem. # You can customize it as needed, but make sure you test # any changes you make to the auto generated methods. # class Account < ApplicationRecord include CanvasSync::ApiSyncable validates :canvas_id, uniqueness: true, presence: true api_syncable({ name: :name, workflow_state: :workflow_state, canvas_parent_account_id: :parent_account_id, }, -> (api) { api.account(canvas_id) }) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
canvas_sync-0.10.2 | spec/dummy/app/models/account.rb |
canvas_sync-0.10.0 | spec/dummy/app/models/account.rb |