Class: ChiliPlayer::Init

Inherits:
Object
  • Object
show all
Includes:
Videos, RestClient
Defined in:
lib/chili_player/init.rb

Overview

init access class

Instance Method Summary collapse

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(options = {})
  options.each do |key, value|
    instance_variable_set("@#{key}", value)
  end
end