Sha256: a26b030475bdc07c164d2b55b59d133e7c7458eb69f9735a17dc162a92c42c21

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

require "English"

module Foobara
  module Generators
    module OrganizationGenerator
      class OrganizationConfig < Foobara::Model
        attributes do
          name :string, :required
          description :string, :allow_nil
        end

        def module_path
          @module_path ||= name.split("::")
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foobara-organization-generator-0.0.1 src/organization_config.rb