Skip to content

mdelkins/commandos-virtus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMMANDOS-VIRTUS

A plugin for the commandos library. This plugin adds Virtus.value_object to your commandos commands.

PREREQUISITES

  • ruby-2.4.0

DEPENDENCIES

  • Virtus

INSTALLATION

In your Gemfile

gem 'commandos-virtus'

EXAMPLES

class FooCommand < Commandos::IAmACommand
  use Commandos::Plugins::VirtusPlugin

  values do
    string   :foo
    integer  :bar
    datetime :created_at
  end
end

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published