Class: CheckMot::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/check_mot/client.rb

Instance Method Summary collapse

Instance Method Details

#by_date(date, page:) ⇒ Object



7
8
9
# File 'lib/check_mot/client.rb', line 7

def by_date(date, page:)
  ByDateRequest.new.get(date, page: page)
end

#by_vehicle_registration(registration) ⇒ Object



3
4
5
# File 'lib/check_mot/client.rb', line 3

def by_vehicle_registration(registration)
  ByVehicleRegistrationRequest.new.get(registration)
end