Sha256: 9e7b3dd41b29aa403e465f2fc231ee3a5c187926127e4242ae843c8d9fabce3b

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

module Notion
  class Client
    include Operations::Search

    def initialize(token:)
      Notion.api_token = token
    end

    def blocks
      Blocks.new
    end

    def databases
      Databases.new
    end

    def pages
      Pages.new
    end

    def users
      Users.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notion-sdk-ruby-0.3.0 lib/notion-sdk-ruby/client.rb