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

Version Path
billit_representers_argentina-0.9.17 lib/billit_representers_argentina/representers/count_representer.rb
billit_representers_argentina-0.9.16 lib/billit_representers_argentina/representers/count_representer.rb
billit_representers_argentina-0.9.14 lib/billit_representers_argentina/representers/count_representer.rb
billit_representers_argentina-0.9.13 lib/billit_representers_argentina/representers/count_representer.rb
billit_representers_argentina-0.9.12 lib/billit_representers_argentina/representers/count_representer.rb
billit_representers_argentina-0.9.11 lib/billit_representers_argentina/representers/count_representer.rb
billit_representers_argentina-0.9.10 lib/billit_representers_argentina/representers/count_representer.rb
billit_representers-0.9.10 lib/billit_representers/representers/count_representer.rb
billit_representers-0.9.9 lib/billit_representers/representers/count_representer.rb
billit_representers-0.9.8 lib/billit_representers/representers/count_representer.rb
billit_representers-0.9.7 lib/billit_representers/representers/count_representer.rb
billit_representers-0.9.6 lib/billit_representers/representers/count_representer.rb