Sha256: dc1f09c42dbe5f959559286985d557db350d40883221db907e5425c7859e5c4d

Contents?: true

Size: 229 Bytes

Versions: 21

Compression:

Stored size: 229 Bytes

Contents

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

    attr_accessible :user_id, :api_domain
  end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
coalescing_panda-1.1.21.1 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.21 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.20 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.19 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-2.0.0 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.18 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.17 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.16 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.15 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.14 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.13 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.12 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.11 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.10 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.8 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.7 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.6 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.5 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.3 app/models/coalescing_panda/canvas_api_auth.rb
coalescing_panda-1.1.0 app/models/coalescing_panda/canvas_api_auth.rb