Sha256: 4dc4a173d53dd93d2d49a1e460d0be4457c86f42f2b33fb42431252d183d50ee
Contents?: true
Size: 797 Bytes
Versions: 31
Compression:
Stored size: 797 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 DocumentRepresenter include Roar::Representer::JSON::HAL # include Roar::Representer::JSON module Initializer def initialize extend Billit::DocumentRepresenter 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 :number property :date property :step property :stage property :type property :chamber property :link end end
Version data entries
31 entries across 31 versions & 2 rubygems