Class: NotionRuby::API::Blocks::Children::Proxy

Inherits:
ResourceProxy show all
Defined in:
lib/notion_ruby/api/blocks.rb

Instance Attribute Summary

Attributes inherited from ResourceProxy

#connection, #id, #params, #path_prefix

Instance Method Summary collapse

Methods inherited from ResourceProxy

#build_prefix, #initialize, #method_missing, #raw, #respond_to_missing?, #subject

Methods included from CRUD

#create, #get, #patch

Constructor Details

This class inherits a constructor from NotionRuby::ResourceProxy

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class NotionRuby::ResourceProxy

Instance Method Details

#append(params) ⇒ Object



8
9
10
# File 'lib/notion_ruby/api/blocks.rb', line 8

def append(params)
  connection.patch(path_prefix, params).body
end