Sha256: 97ad5ec1f549df2268dc69ccab706158517c1d49135982190bd8614d2ac0c682

Contents?: true

Size: 276 Bytes

Versions: 7

Compression:

Stored size: 276 Bytes

Contents

require 'virtus'
require 'oxford_dictionary/api_objects/sense'

# Entry
class Entry
  include Virtus.model
  attribute :etymologies, Array[String]
  attribute :grammatical_features, Array[OpenStruct]
  attribute :homograph_number, String
  attribute :senses, Array[Sense]
end

Version data entries

7 entries across 7 versions & 1 rubygems

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