projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use find_or_create_by instead of rescue RecordNotUnique
[arvados.git]
/
services
/
api
/
app
/
models
/
api_client.rb
1
class ApiClient < ActiveRecord::Base
2
include AssignUuid
3
include KindAndEtag
4
include CommonApiTemplate
5
has_many :api_client_authorizations
6
7
api_accessible :superuser, :extend => :common do |t|
8
t.add :name
9
t.add :url_prefix
10
t.add :is_trusted
11
end
12
end