Class: CheckMot::ByVehicleRegistrationRequest
- Inherits:
-
Request
- Object
- Request
- CheckMot::ByVehicleRegistrationRequest
show all
- Defined in:
- lib/check_mot/by_vehicle_registration_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(registration) ⇒ Object
5
6
7
8
|
# File 'lib/check_mot/by_vehicle_registration_request.rb', line 5
def get(registration)
raw_response = get_raw(registration: registration)
ByVehicleRegistrationResponse.new(raw_response).resource
end
|