Module: NotionRb

Defined in:
lib/notion_rb.rb,
lib/notion_rb/block.rb,
lib/notion_rb/api/get.rb,
lib/notion_rb/version.rb,
lib/notion_rb/api/base.rb,
lib/notion_rb/api/create.rb,
lib/notion_rb/api/update.rb,
lib/notion_rb/api/destroy.rb,
lib/notion_rb/api/restore.rb,
lib/notion_rb/transaction.rb,
lib/notion_rb/utils/types.rb,
lib/notion_rb/utils/parser.rb,
lib/notion_rb/request_params.rb,
lib/notion_rb/utils/converter.rb,
lib/notion_rb/utils/block_cache.rb,
lib/notion_rb/operations/factory.rb,
lib/notion_rb/api/query_collection.rb,
lib/notion_rb/utils/uuid_validator.rb,
lib/notion_rb/operations/list_after.rb,
lib/notion_rb/operations/commands/set.rb,
lib/notion_rb/operations/commands/base.rb,
lib/notion_rb/operations/update_parent.rb,
lib/notion_rb/operations/set_block_type.rb,
lib/notion_rb/operations/commands/update.rb,
lib/notion_rb/operations/set_block_title.rb,
lib/notion_rb/operations/commands/factory.rb,
lib/notion_rb/operations/commands/list_after.rb,
lib/notion_rb/operations/set_block_created_time.rb,
lib/notion_rb/operations/set_block_last_edited_time.rb

Defined Under Namespace

Modules: Api, Operations, Utils Classes: Block, RequestParams, Transaction

Constant Summary collapse

VERSION =
'0.1.3'

Class Method Summary collapse

Class Method Details

.configObject



30
31
32
# File 'lib/notion_rb.rb', line 30

def self.config
  @config ||= {}
end

.configure {|config| ... } ⇒ Object

Yields:



34
35
36
# File 'lib/notion_rb.rb', line 34

def self.configure
  yield(config)
end