Class: Player

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

Overview

init access class

Instance Method Summary collapse

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