Sha256: d8aee4438ef52fb4d2dc32a8099dfdbc70dcf5c53152227dcedcc3504c8de8a3

Contents?: true

Size: 286 Bytes

Versions: 4

Compression:

Stored size: 286 Bytes

Contents

module Ey
  module Provisioner
    class InvalidRequest < StandardError
      attr_reader :request
      def initialize(request)
        @request = request
        errors = @request.errors.full_messages.join(", ")
        super("Invalid Request: #{errors}")
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ey-provisioner-1.0.3 lib/ey-provisioner/invalid_request.rb
ey-provisioner-1.0.2 lib/ey-provisioner/invalid_request.rb
ey-provisioner-1.0.1 lib/ey-provisioner/invalid_request.rb
ey-provisioner-1.0.0 lib/ey-provisioner/invalid_request.rb