lib/tracker_api/resources/label.rb in tracker_api-0.2.9 vs lib/tracker_api/resources/label.rb in tracker_api-0.2.10

- old
+ new

@@ -1,14 +1,20 @@ module TrackerApi module Resources class Label - include Virtus.model + include Resources::Base - attribute :id, Integer attribute :created_at, DateTime attribute :kind, String attribute :name, String attribute :project_id, Integer attribute :updated_at, DateTime + + class UpdateRepresenter < Representable::Decorator + include Representable::JSON + + property :id + property :name + end end end end