Sha256: 66db3661844daf743823b1063b7c6847cbed721f6b0f27c6c53d23a8d77b77fd
Contents?: true
Size: 342 Bytes
Versions: 12
Compression:
Stored size: 342 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin class CreateImportExample < Rectify::Command def initialize(form) @form = form end def call return broadcast(:invalid) if form.invalid? broadcast(:ok, form.example) end private attr_reader :form end end end
Version data entries
12 entries across 12 versions & 1 rubygems