Class: Rik::Client

Inherits:
API
  • Object
show all
Includes:
Session, Stream, User, Video
Defined in:
lib/rik/client.rb,
lib/rik/client/user.rb,
lib/rik/client/video.rb,
lib/rik/client/stream.rb,
lib/rik/client/session.rb

Defined Under Namespace

Modules: Session, Stream, User, Video

Constant Summary

Constants inherited from API

API::BASE_URI, API::VALID_OPTIONS_KEYS

Instance Method Summary collapse

Methods included from Video

#info, #public_user_streams

Methods included from User

#followers, #following, #public_profile

Methods included from Stream

#subscribe_follow_streams, #subscribe_own_user_streams, #subscribe_public_streams, #subscribe_user_streams

Methods inherited from API

#call, #reset

Constructor Details

#initializeClient

Returns a new instance of Client.



16
17
18
19
20
21
# File 'lib/rik/client.rb', line 16

def initialize
  super
  @authorized = false
  @subscriptions = {}
  @resub_handlers = {}
end

Instance Method Details

#configureObject



23
24
25
26
# File 'lib/rik/client.rb', line 23

def configure
  super
  recreate
end