Sha256: a20b541bad395cc264528f85e22a75b322d22d75173eb1b2c66ed6f5d62a9ba4

Contents?: true

Size: 532 Bytes

Versions: 3

Compression:

Stored size: 532 Bytes

Contents

# frozen_string_literal: true

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

class INat::Entity::Project < INat::Data::Entity; end

class INat::Entity::ProjectAdmin < INat::Data::Entity

  include INat::Data::Types
  include INat::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

3 entries across 3 versions & 1 rubygems

Version Path
inat-get-0.8.0.15 lib/inat/data/entity/projectadmin.rb
inat-get-0.8.0.14 lib/inat/data/entity/projectadmin.rb
inat-get-0.8.0.13 lib/inat/data/entity/projectadmin.rb