Sha256: 11eb6eef9cf46d988e3ee225ab9b0fa18f1103f4b5a70044d65312817037342c

Contents?: true

Size: 499 Bytes

Versions: 7

Compression:

Stored size: 499 Bytes

Contents

require 'virtus'
require 'oxford_dictionary/api_objects/entry'
require 'oxford_dictionary/api_objects/pronunciation'

# LexicalEntry
class LexicalEntry
  include Virtus.model
  attribute :entries, Array[Entry]
  attribute :grammatical_features, Array[OpenStruct]
  attribute :inflection_of, Array[OpenStruct]
  attribute :language, String
  attribute :lexical_category, String
  attribute :pronunciations, Array[Pronunciation]
  attribute :sentences, Array[OpenStruct]
  attribute :text, String
end

Version data entries

7 entries across 7 versions & 1 rubygems

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