No commit activity in last 3 years
No release in over 3 years
A plugin for Commandos
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.5
~> 1.14
~> 0.1
~> 5.0
~> 10.0

Runtime

~> 1.0
 Project Readme

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