Sha256: e5861f04bc7d1ed30e8286a71147dadd5725432df9d6c89f3fc702ad63c87ea8
Contents?: true
Size: 315 Bytes
Versions: 2
Compression:
Stored size: 315 Bytes
Contents
require 'virtus' module TrackerApi module Resources module Shared module HasId def self.included(base) base.class_eval do include Virtus.model include Equalizer.new(:id) attribute :id, Integer end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tracker_api-0.2.12 | lib/tracker_api/resources/shared/has_id.rb |
tracker_api-0.2.11 | lib/tracker_api/resources/shared/has_id.rb |