This is flow used by apps on Apple TV / Roku. However, it is also useful for CLIs.
Here is my rundown. Please correct me in comments if something is wrong or if there is a better way to do this.
Device pings the server to begin activation process
require 'rack/thumb' | |
require 'rack/s3' | |
class Thumber | |
def initialize(app) | |
@app = stack_app app | |
end | |
def stack_app(app) |