Class: CheckMot::ByDateRequest
- Inherits:
-
Request
- Object
- Request
- CheckMot::ByDateRequest
show all
- Defined in:
- lib/check_mot/by_date_request.rb
Constant Summary
Constants inherited
from Request
Request::PATH, Request::URL
Instance Method Summary
collapse
Methods inherited from Request
#get_raw
Instance Method Details
#get(date, page:) ⇒ Object
5
6
7
8
|
# File 'lib/check_mot/by_date_request.rb', line 5
def get(date, page:)
raw_response = get_raw(date: date, page: page)
ByDateResponse.new(raw_response).resources
end
|