Sha256: 65fb4caada8372d54d05c10936d61261afccde6817835ae60de76999c080ced9
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
module Shamu module JsonApi # Present an object to a JSON API {ResourceBuilder builder}. class Presenter # Serialize the `resource` to the `builder`. # # @param [Object] resource to present. # @param [ResourceBuilder] builder to write to. # @return [void] def present( resource, builder ) fail NotImplementedError end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shamu-0.0.4 | lib/shamu/json_api/presenter.rb |