Class: OxfordDictionary::Endpoints::Endpoint
- Inherits:
-
Object
- Object
- OxfordDictionary::Endpoints::Endpoint
- Defined in:
- lib/oxford_dictionary/endpoints/endpoint.rb
Overview
The common functionality (and dependency initialization) of all endpoints
Instance Method Summary collapse
-
#initialize(request_client:) ⇒ Endpoint
constructor
A new instance of Endpoint.
Constructor Details
#initialize(request_client:) ⇒ Endpoint
Returns a new instance of Endpoint.
7 8 9 |
# File 'lib/oxford_dictionary/endpoints/endpoint.rb', line 7 def initialize(request_client:) @request_client = request_client end |