mirror of
https://github.com/samsonjs/instapaper.git
synced 2026-04-01 10:05:49 +00:00
14 lines
275 B
Ruby
14 lines
275 B
Ruby
require 'virtus'
|
|
|
|
module Instapaper
|
|
class User
|
|
include Virtus.value_object
|
|
|
|
values do
|
|
attribute :username, String
|
|
attribute :user_id, Integer
|
|
attribute :type, String
|
|
attribute :subscription_is_active, Axiom::Types::Boolean
|
|
end
|
|
end
|
|
end
|