Sha256: 338ef899d43103d72b188e7db3e8b8b6d500824779e6010372c2f85b45345075

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

module Notion
  module Endpoints
    module Blocks
      def get_block_children(id, params: {})
        self.class.get("/v1/blocks/#{id}/children", query: params)
      end

      def append_block_children(id, body)
        self.class.patch("/v1/blocks/#{id}/children", body: body)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notion-sdk-ruby-0.2.1 lib/notion/endpoints/blocks.rb