Sha256: 195b14d9695784e61858224a557f2388e91ef16b5684827f52bae2f1d19d1fe7

Contents?: true

Size: 340 Bytes

Versions: 7

Compression:

Stored size: 340 Bytes

Contents

require 'virtus'
require 'oxford_dictionary/api_objects/lexical_entry'

# Top level response (excluding metadata) from entries endpoints
class EntryResponse
  include Virtus.model
  attribute :id, String
  attribute :language, String
  attribute :lexical_entries, Array[LexicalEntry]
  attribute :type, String
  attribute :word, String
end

Version data entries

7 entries across 7 versions & 1 rubygems

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