Sha256: c1d37e34831b60a3efbdca5ca276d67994c1dedf27141bba7e1422bd039f39f1

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

module CheckMot
  class ByVehicleRegistrationResponse < Response
    def resource
      validate
      Resource.new(sanitized)
    end

    def sanitized
      transform(parsed_response.first)
    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_response.rb