Sha256: 79d9117c8ddc9c067b32c2cbb14c97b523645e2a6a5ae582623f6378ff2af189
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
module Dropmark class Comment include Her::Model uses_api Dropmark.api collection_path "items/:item_id/comments" resource_path "comments/:id" belongs_to :item after_find do |i| begin i.created_at = Time.parse(i.created_at) i.updated_at = Time.parse(i.updated_at) rescue end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dropmark-0.1.5 | lib/dropmark/comment.rb |