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