Sha256: b2c23cf92054f84a6bb630ce29fa7d38d404892d7a95891be9032c3ee384527b

Contents?: true

Size: 509 Bytes

Versions: 4

Compression:

Stored size: 509 Bytes

Contents

require 'virtus'

module Instapaper
  class Bookmark
    include Virtus.value_object

    values do
      attribute :instapaper_hash, String
      attribute :description, String
      attribute :bookmark_id, Integer
      attribute :private_source, String
      attribute :title, String
      attribute :url, String
      attribute :progress_timestamp, DateTime
      attribute :time, DateTime
      attribute :progress, String
      attribute :starred, String
      attribute :type, String
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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