Sha256: c8c326658b8130e3141beed3702672a511031e849fedd419ea5050938bbbe443

Contents?: true

Size: 277 Bytes

Versions: 6

Compression:

Stored size: 277 Bytes

Contents

require 'poms/has_base_attributes'

module Poms
  # POMS wrapper for a TV Serie.
  class Series < Poms::Builder::NestedOpenStruct
    include Poms::HasBaseAttributes

    def related_group_mids
      Poms.fetch_descendants_for_serie(mid, 'SEASON').map(&:mid)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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