Sha256: 933be736ac316de64db8ca532d956ed0338355471385d6bacace0d65e5091645
Contents?: true
Size: 702 Bytes
Versions: 30
Compression:
Stored size: 702 Bytes
Contents
require 'roar/representer' require 'roar/representer/feature/http_verbs' require 'roar/representer/feature/client' # require 'roar/representer/json' # require 'roar/rails/hal' require 'roar/representer/json/hal' module Billit module RevisionRepresenter include Roar::Representer::JSON::HAL # include Roar::Representer::JSON module Initializer def initialize extend Billit::RevisionRepresenter extend Roar::Representer::Feature::Client super end end def self.included(klass) klass.send :prepend, Initializer klass.send :include, Roar::Representer::Feature::HttpVerbs end property :description property :link end end
Version data entries
30 entries across 30 versions & 2 rubygems