Sha256: 12ee2f9b2a54c330a3f6ca9de11f603ab5e95de395966ba4623e0933baee020f

Contents?: true

Size: 197 Bytes

Versions: 1

Compression:

Stored size: 197 Bytes

Contents

module Notion
  class Users
    def list
      RequestClient.active_client.get("/v1/users")
    end

    def retrieve(id)
      RequestClient.active_client.get("/v1/users/#{id}")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notion-sdk-ruby-0.4.0 lib/notion-sdk-ruby/resources/users.rb