Sha256: ebdc216c2a3ebfc5a803e70d3544cb0c4d919af93b5f1b465f30a79a47b45459

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

module Provet
  class Department < Provet::Base
    def create(_body)
      raise MethodNotAllowedError
    end

    def update(*_args)
      raise MethodNotAllowedError
    end

    def destroy(_id)
      raise MethodNotAllowedError
    end

    private

    def endpoint_name
      'department'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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