Class: WCC::Media::Tag
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#_links, #id, #initialize, #legacy_id
Methods included from ActiveRecordShim
Methods included from Cacheable
Constructor Details
This class inherits a constructor from WCC::Media::Base
Instance Method Details
#tag_group ⇒ Object
21 22 23 24 25 |
# File 'lib/wcc/media/tag.rb', line 21 def tag_group return unless key = raw.dig('tag_group', 'key') WCC::Media::TagGroup[key.to_sym] end |