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 RemarkRepresenter include Roar::Representer::JSON::HAL # include Roar::Representer::JSON module Initializer def initialize extend Billit::RemarkRepresenter 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 :date property :event property :stage end end