class Evertils::Action::Create
Public Class Methods
new(args)
click to toggle source
# File lib/evertils/actions/create.rb, line 8 def initialize(args) @args = args query = Evertils::Common::Query::Simple.new query.create_note_from_hash(allowed_args) end
Private Instance Methods
allowed_args()
click to toggle source
# File lib/evertils/actions/create.rb, line 17 def allowed_args @args.to_h.reject { |key, _| key == :action } end