Class: Netflix::User
- Inherits:
-
JsonResource
- Object
- JsonResource
- Netflix::User
- Defined in:
- lib/netflix/user.rb
Instance Method Summary collapse
- #available_disc_queue ⇒ Object
-
#initialize(oauth_access_token, user_id) ⇒ User
constructor
access_key, access_secret).
Methods inherited from JsonResource
Constructor Details
#initialize(oauth_access_token, user_id) ⇒ User
access_key, access_secret)
7 8 9 10 11 |
# File 'lib/netflix/user.rb', line 7 def initialize(oauth_access_token, user_id) #access_key, access_secret) @oauth_access_token = oauth_access_token @user_id = user_id super(retrieve) end |