lib/film_on/base.rb
# Create the initial handshake to FilmOn
# and set the @session_key
#
Create the initial handshake to FilmOn
and set the @session_key
Create the initial handshake to FilmOn and set the @session_key
def init_request
      response = get("init")
      init_hash = JSON.parse(response)
      @session_key = init_hash["session_key"]
      self
    end
def init_request response = get ( "init" ) init_hash = JSON . parse ( response ) @session_key = init_hash [ "session_key" ] self end
Create the initial handshake to FilmOn
and set the @session_key
Create the initial handshake to FilmOn and set the @session_key