Sha256: ed26524d30c496a6b8e3c7b9e5cda310d432d2fd721e8454f8f9d8b44a6b8a89

Contents?: true

Size: 554 Bytes

Versions: 2

Compression:

Stored size: 554 Bytes

Contents

# frozen_string_literal: true

require 'extra/uuid'

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

# require_relative 'observation'
# require_relative 'sound'

# class Observation < Entity; end

autoload :Observation, 'inat/data/entity/observation'
autoload :Sound,       'inat/data/entity/sound'

class ObservationSound < Entity

  table :observation_sounds

  field :observation, type: Observation, index: true

  field :uuid, type: UUID, unique: true
  field :sound, type: Sound, 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/observationsound.rb
inat-get-0.8.0.11 lib/inat/data/entity/observationsound.rb