supply/lib/supply/client.rb
# Get a list of all tracks - returns the list
Get a list of all tracks - returns the list
Get a list of all tracks - returns the list
def tracks(*tracknames)
      ensure_active_edit!
      all_tracks = call_google_api { client.list_edit_tracks(current_package_name, current_edit.id) }.tracks
      all_tracks = [] unless all_tracks
      if tracknames.length > 0
        all_tracks = all_tracks.select { |track| tracknames.include?(track.track) }
      end
      return all_tracks
    end
def tracks ( * tracknames ) ensure_active_edit! all_tracks = call_google_api { client . list_edit_tracks ( current_package_name , current_edit . id ) } . tracks all_tracks = [ ] unless all_tracks if tracknames . length > 0 all_tracks = all_tracks . select { | track | tracknames . include? ( track . track ) } end return all_tracks end
Get a list of all tracks - returns the list
Get a list of all tracks - returns the list
tracknames
<not_specific>