Sha256: de2daf04a00ace0ff3748d6ff7f2dcd10692ee12971f86422b227db4315e9e8c

Contents?: true

Size: 657 Bytes

Versions: 1

Compression:

Stored size: 657 Bytes

Contents

# frozen_string_literal: true

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

module INat::Entity
  autoload :Observation, 'inat/data/entity/observation'
  autoload :User,        'inat/data/entity/user'
end

class INat::Entity::Flag < INat::Data::Entity

  include INat::Entity

  table :flags

  field :flag, type: String, required: true
  field :created_at, type: Time
  field :updated_at, type: Time
  field :user, type: User, index: true, required: true
  field :resolved, type: Boolean, index: true
  field :resolver, type: User, index: true
  field :comment, type: String

  ignore :flaggable_id

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inat-get-0.8.0.15 lib/inat/data/entity/flag.rb