Sha256: 824f34d6f8161c39709dd430cf04f4b4c4d68ba7a13fada0d7310fe6eafea5e5

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 Bytes

Contents

module DesignerNews
  class Comment < DesignerNews::Model
    class << self
      def find(comment_id)
        resp = MultiJson.decode(LayerVault.client.comment(comment_id))
        instance = new(resp)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dn-0.1.0 lib/designer_news/comment.rb