Sha256: c7ed54de4af9f863ae14efa3378fe5acb58252c936ec8b9bf0c02ede8b1fd12c

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

# frozen_string_literal: true

module Provet
  class ConsultationDischargeInstruction < Provet::Base
    def initialize(consultation_id:)
      @consultation_id = consultation_id
    end

    def destroy(*_args)
      raise MethodNotAllowedError
    end

    private

    def endpoint_name
      "consultation/#{@consultation_id}/consultationdischargeinstruction"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
provet-client-0.1.0 lib/provet/consultation_discharge_instruction.rb