Class: Rapid::Baps::Responses::Handlers::ItemData

Inherits:
LoaderHandler show all
Defined in:
lib/ury_rapid/baps/responses/handlers/playlist.rb

Overview

Handles a BAPS playlist item add

Instance Method Summary collapse

Methods inherited from LoaderHandler

#origin, #run

Methods inherited from Services::Responses::Handler

#initialize, #kill_if_exists

Methods inherited from Services::Handler

def_targets, #initialize, register_into, #targets, targets?, use_poster

Constructor Details

This class inherits a constructor from Rapid::Services::Responses::Handler

Instance Method Details

#idObject


49
50
51
# File 'lib/ury_rapid/baps/responses/handlers/playlist.rb', line 49

def id
  @response.index
end

#urlsObject


53
54
55
# File 'lib/ury_rapid/baps/responses/handlers/playlist.rb', line 53

def urls
  { insert: playlist_url }
end