Class: OxfordDictionary::Endpoints::Endpoint

Inherits:
Object
  • Object
show all
Defined in:
lib/oxford_dictionary/endpoints/endpoint.rb

Direct Known Subclasses

Entries, Lemmas, Search, Sentences, Thesaurus, Translations

Instance Method Summary collapse

Constructor Details

#initialize(request_client:) ⇒ Endpoint

Returns a new instance of Endpoint.



6
7
8
# File 'lib/oxford_dictionary/endpoints/endpoint.rb', line 6

def initialize(request_client:)
  @request_client = request_client
end