Sha256: c69d6142d45fed2680fdfa0a70be422a2e01f25ca9996a660eb465bd0f60573e

Contents?: true

Size: 591 Bytes

Versions: 7

Compression:

Stored size: 591 Bytes

Contents

require 'virtus'

# Sense
class Sense
  include Virtus.model
  attribute :id, String
  attribute :antonyms, Array[OpenStruct]
  attribute :cross_references, Array[OpenStruct]
  attribute :cross_reference_markers, Array[String]
  attribute :definitions, Array[String]
  attribute :domains, Array[String]
  attribute :examples, Array[OpenStruct]
  attribute :regions, Array[String]
  attribute :registers, Array[String]
  attribute :subsenses, Array[Sense]
  attribute :synonyms, Array[OpenStruct]
  attribute :translations, Array[OpenStruct]
  attribute :variant_forms, Array[OpenStruct]
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
oxford_dictionary-1.3.1 lib/oxford_dictionary/api_objects/sense.rb
oxford_dictionary-1.3.0 lib/oxford_dictionary/api_objects/sense.rb
oxford_dictionary-1.2.0 lib/oxford_dictionary/api_objects/sense.rb
oxford_dictionary-1.1.0 lib/oxford_dictionary/api_objects/sense.rb
oxford_dictionary-1.0.1 lib/oxford_dictionary/api_objects/sense.rb
oxford_dictionary-1.0.0 lib/oxford_dictionary/api_objects/sense.rb
oxford_dictionary-0.1.0 lib/oxford_dictionary/api_objects/sense.rb