Module: Notion

Extended by:
Forwardable
Defined in:
lib/notion-sdk-ruby/error.rb,
lib/notion-sdk-ruby.rb,
lib/notion-sdk-ruby/client.rb,
lib/notion-sdk-ruby/config.rb,
lib/notion-sdk-ruby/version.rb,
lib/notion-sdk-ruby/models/list.rb,
lib/notion-sdk-ruby/models/page.rb,
lib/notion-sdk-ruby/models/user.rb,
lib/notion-sdk-ruby/models/block.rb,
lib/notion-sdk-ruby/request_client.rb,
lib/notion-sdk-ruby/models/database.rb,
lib/notion-sdk-ruby/resources/pages.rb,
lib/notion-sdk-ruby/resources/users.rb,
lib/notion-sdk-ruby/resources/blocks.rb,
lib/notion-sdk-ruby/operations/search.rb,
lib/notion-sdk-ruby/resources/databases.rb

Overview

Defined Under Namespace

Modules: Operations, RequestClient Classes: APIResponseError, Block, Blocks, Children, Client, Config, Database, Databases, ErrorFactory, HTTPResponseError, List, NotionError, Page, Pages, RequestTimeoutError, User, Users

Constant Summary collapse

API_ERROR_CODE =
{
  unauthorized: "unauthorized",
  restricted_resource: "restricted_resource",
  object_not_found: "object_not_found",
  rate_limited: "rate_limited",
  invalid_json: "invalid_json",
  invalid_request_url: "invalid_request_url",
  invalid_request: "invalid_request",
  validation_error: "validation_error",
  conflict_error: "conflict_error",
  internal_server_error: "internal_server_error",
  service_unavailable: "service_unavailable"
}
VERSION =
"0.5.0"

Class Attribute Summary collapse

Class Attribute Details

.configObject (readonly)

Returns the value of attribute config.


28
29
30
# File 'lib/notion-sdk-ruby.rb', line 28

def config
  @config
end