lib/charger/customer.rb in charger-0.0.2 vs lib/charger/customer.rb in charger-0.0.3
- old
+ new
@@ -1,11 +1,8 @@
module Charger
class Customer
- include Virtus
- extend ActiveModel::Naming
- include ActiveModel::Conversion
- include ActiveModel::Validations
+ include Resource
attribute :id, Integer
attribute :first_name, String
attribute :last_name, String