Class: NotionRb::Api::Update
Constant Summary
Constants inherited from Base
Base::API_BASE_URL, Base::BASE_URL, Base::REDEFINE_EXCEPTION, Base::S3_URL_PREFIX, Base::S3_URL_PREFIX_ENCODED, Base::SIGNED_URL_PREFIX
Instance Method Summary collapse
-
#initialize(params) ⇒ Update
constructor
A new instance of Update.
Methods inherited from Base
Constructor Details
#initialize(params) ⇒ Update
Returns a new instance of Update.
6 7 8 9 10 11 |
# File 'lib/notion_rb/api/update.rb', line 6 def initialize(params) super @title = params[:title] @block_type = params[:block_type] end |