Sha256: 0d956d85fbd83f0e29ed69d6bca254c2714a02b3678e846e623ed170a25c7ed7

Contents?: true

Size: 506 Bytes

Versions: 2

Compression:

Stored size: 506 Bytes

Contents

# frozen_string_literal: true

require_relative '../types/std'
require_relative '../types/extras'
require_relative '../entity'
require_relative '../enums/projectadminrole'

# require_relative 'project'
# autoload :Project, 'inat/data/entity/project'

class Project < Entity; end

class ProjectAdmin < Entity

  table :project_admins

  field :project, type: Project, index: true
  field :role, type: ProjectAdminRole, index: true, required: true
  field :user, type: User, index: true, required: true

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
inat-get-0.8.0.12 lib/inat/data/entity/projectadmin.rb
inat-get-0.8.0.11 lib/inat/data/entity/projectadmin.rb