class KongSchema::Actions::Delete
Attributes
model[R]
record[R]
Public Class Methods
new(model:, record:)
click to toggle source
# File lib/kong_schema/actions.rb, line 34 def initialize(model:, record:) @model = model @record = record end
Public Instance Methods
apply(*)
click to toggle source
# File lib/kong_schema/actions.rb, line 39 def apply(*) @model.delete(@record) end