Sha256: 44b25e2704232550e76939da029146109278285f71c6262cb2dc6e33edeaa830

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

module CheckMot
  class ByVehicleRegistrationRequest < Request
    def get(registration)
      raw_response = get_raw(registration: registration)
      ByVehicleRegistrationResponse.new(raw_response).resource
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
check_mot-0.3.1 lib/check_mot/by_vehicle_registration_request.rb