Sha256: 396f0b91d4b95e24dcf53d190dc78e2fd1b208f99fdc5736f4261dcce17c07f7

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
instapaper-1.0.1 lib/instapaper/user.rb
instapaper-1.0.0 lib/instapaper/user.rb
instapaper-1.0.0.pre3 lib/instapaper/user.rb
instapaper-1.0.0.pre2 lib/instapaper/user.rb