Sha256: 865a40d6149abed015a8fffe88717cdab0c6459716b5365c1f8baffc1199f4bf
Contents?: true
Size: 233 Bytes
Versions: 1
Compression:
Stored size: 233 Bytes
Contents
require 'support/article_representer' class Article include Roar::JSON include ArticleRepresenter attr_accessor :title, :id def initialize(attrs = {}) attrs.each_pair do |k, v| send("#{k}=", v) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grape-roar-0.3.0 | spec/support/article.rb |