Sha256: a60a3b5bc506cac2fa52c93d656827f99c4ba4c98f86900301444bdc497766c1

Contents?: true

Size: 252 Bytes

Versions: 3

Compression:

Stored size: 252 Bytes

Contents

module TabloConnect
  class ShowsController < ApplicationController
    def index
      render json: {shows: Show.shows_with_image_id}
    end

    def episodes
      render json: {episodes: Show.show_episodes(params.require(:show))}
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tablo_connect-0.0.4 app/controllers/tablo_connect/shows_controller.rb
tablo_connect-0.0.3 app/controllers/tablo_connect/shows_controller.rb
tablo_connect-0.0.2 app/controllers/tablo_connect/shows_controller.rb