Class: NotionRb::Operations::Commands::Set

Inherits:
Base
  • Object
show all
Defined in:
lib/notion_rb/operations/commands/set.rb

Constant Summary collapse

COMMAND =
'set'
NAME =
:set

Instance Attribute Summary

Attributes inherited from Base

#args, #command, #id, #path, #table

Instance Method Summary collapse

Methods inherited from Base

#to_h

Constructor Details

#initialize(id, opts = {}) ⇒ Set

Returns a new instance of Set.



10
11
12
13
# File 'lib/notion_rb/operations/commands/set.rb', line 10

def initialize(id, opts = {})
  opts.merge!(command: COMMAND)
  super
end