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/api/pages.rb,
lib/notion-sdk-ruby/api/users.rb,
lib/notion-sdk-ruby/api/blocks.rb,
lib/notion-sdk-ruby/api/search.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/api/databases.rb,
lib/notion-sdk-ruby/request_client.rb,
lib/notion-sdk-ruby/models/database.rb
Overview
Sourced from notion-sdk-js: github.com/makenotion/notion-sdk-js/blob/main/src/errors.ts
Defined Under Namespace
Modules: Api, RequestClient Classes: APIResponseError, Block, Client, Config, Database, ErrorFactory, HTTPResponseError, List, NotionError, Page, RequestTimeoutError, User
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.6.1"
Class Attribute Summary collapse
-
.config ⇒ Object
readonly
Returns the value of attribute config.
Class Attribute Details
.config ⇒ Object (readonly)
Returns the value of attribute config.
32 33 34 |
# File 'lib/notion-sdk-ruby.rb', line 32 def config @config end |