class NotionAPI::Client

acts as the 'main interface' to the methods of this package.

Attributes

active_user_header[R]
token_v2[R]

Public Class Methods

new(token_v2, active_user_header = nil) click to toggle source
Calls superclass method
# File lib/notion_api/client.rb, line 11
def initialize(token_v2, active_user_header = nil)
  @token_v2 = token_v2
  @active_user_header = active_user_header
  super(token_v2, active_user_header)
end