Sha256: fc2a41db879a7c0a6c17b13207474e064e29563b35372f2c80f70d2de367e57e

Contents?: true

Size: 186 Bytes

Versions: 63

Compression:

Stored size: 186 Bytes

Contents

module CoalescingPanda
  class CanvasApiAuth < ActiveRecord::Base
    validates :user_id, :api_domain, presence: true
    validates :user_id, uniqueness: {scope: :api_domain}
  end

end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
coalescing_panda-4.0.1 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.0.0 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.2.3 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.2.2 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.2.1 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.2.0 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.14 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.13 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.12 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.11 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.10 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.9 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.8 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.7 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.6 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.5 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.4 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.3 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.2 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-3.1.1 app/models/coalescing_panda/canvas_api_auth.rb