Sha256: c59db3412705820dc41ba3923a16890d65fd73a0791c186d9da6a92d102860e2

Contents?: true

Size: 477 Bytes

Versions: 1

Compression:

Stored size: 477 Bytes

Contents

# COMMANDOS-VIRTUS

A plugin for the [commandos](http://github.com/mdelkins/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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
commandos-virtus-0.1.2 README.md