Sha256: 663ae4bb86168952494f80d77e9f913bea2ba213b2a1f1c17a29547d6464ba82

Contents?: true

Size: 223 Bytes

Versions: 3

Compression:

Stored size: 223 Bytes

Contents

module Notion
  module Endpoints
    module Users
      def get_users
        self.class.get("/v1/users")
      end

      def get_user(id)
        self.class.get("/v1/users/#{id}")
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
notion-sdk-ruby-0.2.3 lib/notion-sdk-ruby/endpoints/users.rb
notion-sdk-ruby-0.2.2 lib/notion/endpoints/users.rb
notion-sdk-ruby-0.2.1 lib/notion/endpoints/users.rb