Sha256: dfbe4a52955986211b58af5b63a7de6c883317567a1cbe54515e40b603eb1115

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

require 'virtus'

module TrackerApi
  module Resources
    module Base
      def self.included(base)
        base.class_eval do
          include Virtus.model
          include Equalizer.new(:id)

          attribute :id, Integer
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tracker_api-0.2.10 lib/tracker_api/resources/base.rb