Class: NotionRb::Operations::SetBlockCreatedTime
- Inherits:
-
SetBlockLastEditedTime
- Object
- SetBlockLastEditedTime
- NotionRb::Operations::SetBlockCreatedTime
- Defined in:
- lib/notion_rb/operations/set_block_created_time.rb
Constant Summary collapse
- OPERATION_NAME =
:set_block_created_time
- DEFAULT_PATH =
['created_time'].freeze
Constants inherited from SetBlockLastEditedTime
NotionRb::Operations::SetBlockLastEditedTime::COMMAND_TYPE, NotionRb::Operations::SetBlockLastEditedTime::TABLE
Instance Attribute Summary
Attributes inherited from SetBlockLastEditedTime
Instance Method Summary collapse
-
#initialize(id, time, opts = {}) ⇒ SetBlockCreatedTime
constructor
A new instance of SetBlockCreatedTime.
Methods inherited from SetBlockLastEditedTime
Constructor Details
#initialize(id, time, opts = {}) ⇒ SetBlockCreatedTime
Returns a new instance of SetBlockCreatedTime.
9 10 11 12 |
# File 'lib/notion_rb/operations/set_block_created_time.rb', line 9 def initialize(id, time, opts = {}) opts[:path] ||= DEFAULT_PATH super end |