lib/turntabler/playlist.rb
def load(options = {})
      assert_valid_keys(options, :minimal)
      options = {:minimal => false}.merge(options)

      data = api('playlist.all', options)
      self.attributes = data
      super()
    end
def load(options = {})
      assert_valid_keys(options, :minimal)
      options = {:minimal => false}.merge(options)

      data = api('playlist.all', options)
      self.attributes = data
      super()
    end
def load ( options = { } ) assert_valid_keys ( options , :minimal ) options = { :minimal => false } . merge ( options ) data = api ( 'playlist.all' , options ) self . attributes = data super ( ) end
Loads the attributes for this playlist.  Attributes will automatically load
 when accessed, but this allows data to be forcefully loaded upfront.

 @param [Hash] options The configuration options
 @option options [Boolean] minimal (false) Whether to only include the identifiers for songs and not the entire metadata
 @return [true]
 @raise [Turntabler::Error] if the command fails
 @example
   playlist.load   # => true
   playlist.songs  # => [#<Turntabler::Song ...>, ...]
Loads the attributes for this playlist . Attributes will automatically load when accessed but this allows data to be forcefully loaded upfront .