Sha256: 2474aeb747415ec58811d5036f5be478b275dcb148e063b51f100482e076575e

Contents?: true

Size: 256 Bytes

Versions: 3

Compression:

Stored size: 256 Bytes

Contents

module Breathe
  class Absences
    attr_reader :client

    def initialize(client)
      @client = client
    end

    def list(args = {})
      client.response(
        method: :get,
        path: "absences",
        args: args
      )
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
breathe-0.3.1 lib/breathe/absences.rb
breathe-0.3.0 lib/breathe/absences.rb
breathe-0.2.0 lib/breathe/absences.rb