Sha256: f94ba7f4a43db2693e80b49a508f3e9b9e298e8be9148ce9c4456b830ea7a343

Contents?: true

Size: 281 Bytes

Versions: 6

Compression:

Stored size: 281 Bytes

Contents

require 'poms/has_ancestors'

module Poms
  # Poms wrapper for a season of a serie.
  class Season < Poms::Builder::NestedOpenStruct
    include Poms::HasBaseAttributes
    include Poms::HasAncestors

    def related_group_mids
      descendant_of.map(&:mid_ref)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
poms-1.2.2 lib/poms/season.rb
poms-1.2.1 lib/poms/season.rb
poms-1.2.0 lib/poms/season.rb
poms-1.1.0 lib/poms/season.rb
poms-1.0.1 lib/poms/season.rb
poms-1.0.0 lib/poms/season.rb