dashofcode/tracker_api

View on GitHub
lib/tracker_api/resources/label.rb

Summary

Maintainability
A
0 mins
Test Coverage
module TrackerApi
  module Resources
    class Label
      include Shared::Base

      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