Module: Notion::RequestClient

Included in:
Blocks, Children, Client, Databases, Operations::Search, Pages, Users
Defined in:
lib/notion-sdk-ruby/request_client.rb

Instance Method Summary collapse

Instance Method Details

#delete(*args) ⇒ Object


15
16
17
# File 'lib/notion-sdk-ruby/request_client.rb', line 15

def delete(*args)
  handle_request(:delete, *args)
end

#get(*args) ⇒ Object


3
4
5
# File 'lib/notion-sdk-ruby/request_client.rb', line 3

def get(*args)
  handle_request(:get, *args)
end

#patch(*args) ⇒ Object


11
12
13
# File 'lib/notion-sdk-ruby/request_client.rb', line 11

def patch(*args)
  handle_request(:patch, *args)
end

#post(*args) ⇒ Object


7
8
9
# File 'lib/notion-sdk-ruby/request_client.rb', line 7

def post(*args)
  handle_request(:post, *args)
end