Module: MusicBrainz::Bindings::ReleaseGroupReleases

Extended by:
ReleaseGroupReleases
Included in:
ReleaseGroupReleases
Defined in:
lib/musicbrainz/bindings/release_group_releases.rb

Instance Method Summary collapse

Instance Method Details

#parse(xml) ⇒ Object



5
6
7
8
9
# File 'lib/musicbrainz/bindings/release_group_releases.rb', line 5

def parse(xml)
  xml.xpath('./release-list/release').map do |xml|
    MusicBrainz::Bindings::Release.parse(xml)
  end
end