Class: Player
- Inherits:
-
Object
- Object
- Player
- Includes:
- RestClient, Videos
- Defined in:
- lib/chili_player/init.rb
Overview
init access class
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Player
constructor
A new instance of Player.
Methods included from Videos
#delete, #update, #upload, #video, #videos
Constructor Details
#initialize(options = {}) ⇒ Player
Returns a new instance of Player.
12 13 14 15 16 |
# File 'lib/chili_player/init.rb', line 12 def initialize( = {}) .each do |key, value| instance_variable_set("@#{key}", value) end end |