Sha256: 642388ec87ccc8ed1c0305385f7bbf829fe22ac51db26247a857cb04839f90ed

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

module Provet
  class Appointment < Provet::Base
    private

    def endpoint_name
      'appointment'
    end

    def soft_deletable?
      true
    end

    def archive_payload
      { active: 0 }.to_json
    end

    def restore_payload
      { active: 1 }.to_json
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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