lib/tracker_api/resources/me.rb in tracker_api-0.2.12 vs lib/tracker_api/resources/me.rb in tracker_api-1.0.0
- old
+ new
@@ -1,18 +1,18 @@
module TrackerApi
module Resources
class Me
- include Shared::HasId
+ include Shared::Base
attribute :name, String
attribute :initials, String
attribute :username, String
attribute :time_zone, TimeZone
attribute :api_token, String
attribute :has_google_identity, Boolean
- attribute :project_ids, Array[Integer]
- attribute :projects, [MembershipSummary]
- attribute :workspace_ids, Array[Integer]
+ attribute :project_ids, Shared::Collection[Integer]
+ attribute :projects, Shared::Collection[MembershipSummary]
+ attribute :workspace_ids, Shared::Collection[Integer]
attribute :email, String
attribute :receives_in_app_notifications, Boolean
attribute :kind, String
end
end