Sha256: 81c87dc15803e766a9913876b94313bd18e37c6d5ba77a0ba0fb0b07e53818f2
Contents?: true
Size: 652 Bytes
Versions: 12
Compression:
Stored size: 652 Bytes
Contents
require 'roar/representer' require 'roar/representer/feature/http_verbs' require 'roar/representer/feature/client' require 'roar/representer/json' require 'roar/representer/json/hal' # require 'roar/rails/hal' module Billit module CountRepresenter include Roar::Representer::JSON::HAL module Initializer def initialize extend Billit::CountRepresenter 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 :option property :value end end
Version data entries
12 entries across 12 versions & 2 rubygems