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.11 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.0.10 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.0.9 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.0.8 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.0.7 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.2.2 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.2.1 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.2.0 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.26 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.25 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.24 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.23 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.22 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.21 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.20 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.19 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.18 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.17 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.16 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-4.1.15 app/models/coalescing_panda/canvas_api_auth.rb