Module: TrackerApi::Resources::Shared::Base
- Included in:
- Account, Activity, Blocker, Change, Comment, CycleTimeDetails, DailyHistoryContainer, Epic, EpicsSearchResult, FileAttachment, Label, Me, MembershipSummary, Notification, Person, PrimaryResource, Project, ProjectMembership, PullRequest, Release, Review, ReviewType, TrackerApi::Resources::SearchResultContainer, TrackerApi::Resources::StoriesSearchResult, TrackerApi::Resources::Story, TrackerApi::Resources::StoryTransition, Task, Webhook, Workspace
- Defined in:
- lib/tracker_api/resources/shared/base.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/tracker_api/resources/shared/base.rb', line 16 def self.included(base) base.class_eval do include Virtus.model(nullify_blank: true) include Virtus::DirtyAttribute include Virtus::DirtyAttribute::InitiallyClean include Equalizer.new(:id) attribute :id, Integer end end |