class NotionRb::Operations::ListAfter
Constants
- COMMAND_TYPE
- DEFAULT_PATH
- DEFAULT_TABLE
- OPERATION_NAME
Attributes
id[R]
list_after_id[R]
path[R]
table[R]
Public Class Methods
new(id, list_after_id, opts={})
click to toggle source
# File lib/notion_rb/operations/list_after.rb, line 13 def initialize(id, list_after_id, opts={}) @id = id @list_after_id = list_after_id @table = opts.fetch(:table, DEFAULT_TABLE) @path = opts.fetch(:path, DEFAULT_PATH) end
Public Instance Methods
args()
click to toggle source
# File lib/notion_rb/operations/list_after.rb, line 32 def args { id: list_after_id } end
commands()
click to toggle source
# File lib/notion_rb/operations/list_after.rb, line 20 def commands [ Commands::Factory.build( COMMAND_TYPE, id, args: args, table: table, path: path ) ] end