Summarizing the instructions of the pass tool (as seen on its website).
Execute: $ sudo apt install pass
Summarizing the instructions of the pass tool (as seen on its website).
Execute: $ sudo apt install pass
| source 'https://rubygems.org' | |
| gem 'sinatra' | |
| gem 'sinatra-contrib' |
| class Product | |
| include Mongoid::Document | |
| include Mongoid::Timestamps | |
| field :description, :type => String | |
| field :price_pence, :type => Integer, :default => 0 | |
| field :currency_iso, :type => String, :default => Money.default_currency.iso_code | |
| validates_presence_of :description |