def load
      data = api('user.get_prefs')
      self.attributes = data['result'].inject({}) do |result, (preference, value, *)|
        result[preference] = value
        result
      end
      super
    end
def load
      data = api('user.get_prefs')
      self.attributes = data['result'].inject({}) do |result, (preference, value, *)|
        result[preference] = value
        result
      end
      super
    end
def load data = api ( 'user.get_prefs' ) self . attributes = data [ 'result' ] . inject ( { } ) do | result , ( preference , value , * ) | result [ preference ] = value result end super end
Loads the user's current Turntable preferences.

 @return [true]
 @raise [Turntabler::Error] if the command fails
 @example
   preferences.load        # => true
   preferences.notify_dj   # => false
Loads the user s current Turntable preferences .