Sha256: 1acf4f4139c1732513e0089a8e6b3237ae5a135d12e104350a4de542bb0ce3a2

Contents?: true

Size: 220 Bytes

Versions: 5

Compression:

Stored size: 220 Bytes

Contents

module Calendlyr
  class UserResource < Resource
    def me
      retrieve(uuid: "me")
    end

    def retrieve(uuid:)
      User.new get_request("users/#{uuid}").dig("resource").merge(client: client)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
calendlyr-0.7.4 lib/calendlyr/resources/user.rb
calendlyr-0.7.3 lib/calendlyr/resources/user.rb
calendlyr-0.7.2 lib/calendlyr/resources/user.rb
calendlyr-0.7.1 lib/calendlyr/resources/user.rb
calendlyr-0.7.0 lib/calendlyr/resources/user.rb