Method: Dispatcher#videos_response

Defined in:
lib/danta/dispatcher.rb

#videos_responseObject



28
29
30
31
32
33
34
# File 'lib/danta/dispatcher.rb', line 28

def videos_response
  {
    action: action,
    status: 'success',
    data: Danta::VideoLibrary.new.videos.to_json
  }.to_json
end