Sha256: 796b516c8d2af0d56176878d45aa64e4990d7f9b6925f218362095f712feab07
Contents?: true
Size: 719 Bytes
Versions: 2
Compression:
Stored size: 719 Bytes
Contents
# frozen_string_literal: true require_relative '../types/std' require_relative '../types/extras' require_relative '../entity' autoload :Observation, 'inat/data/entity/observation' autoload :User, 'inat/data/entity/user' autoload :Flag, 'inat/data/entity/flag' class Comment < Entity table :comments field :observation, type: Observation, index: true field :uuid, type: UUID, unique: true field :user, type: User, index: true field :created_at, type: Time, required: true field :body, type: String field :hidden, type: Boolean, index: true links :flags, item_type: Flag, owned: true ignore :moderator_actions # TODO: разобраться ignore :created_at_details end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inat-get-0.8.0.12 | lib/inat/data/entity/comment.rb |
inat-get-0.8.0.11 | lib/inat/data/entity/comment.rb |