Sha256: 18cceb1a7b86f41ff538c493f4f1b9a6776e12ded7648e31c1538a326ad0e15e
Contents?: true
Size: 417 Bytes
Versions: 11
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true require 'evertils/common/query/simple' module Evertils module Action class Create < Action::Base def initialize(args) @args = args query = Evertils::Common::Query::Simple.new query.create_note_from_hash(allowed_args) end private def allowed_args @args.to_h.reject { |key, _| key == :action } end end end end
Version data entries
11 entries across 11 versions & 1 rubygems