Sha256: 66ba7f9f3c695c467c93660ba59f8b17885b712f7fc1d5b84ef91fe3de4e3e6b
Contents?: true
Size: 720 Bytes
Versions: 2
Compression:
Stored size: 720 Bytes
Contents
require 'roar/representer' require 'roar/representer/feature/http_verbs' require 'roar/representer/feature/client' require 'roar/representer/json/hal' module Billit module PaperworkRepresenter include Roar::Representer::JSON::HAL module Initializer def initialize extend Billit::PaperworkRepresenter 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 :chamber property :created_at property :date property :description property :session property :stage property :updated_at end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
billit_representers-0.7.2 | lib/billit_representers/representers/paperwork_representer.rb |
billit_representers-0.7.1 | lib/billit_representers/representers/paperwork_representer.rb |