Class: Floobs::Base

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/floobs/base.rb

Direct Known Subclasses

Channel, Clip, Playlist

Instance Method Summary collapse

Constructor Details

#initialize(api_key, format_options = {}) ⇒ Base

Returns a new instance of Base.



6
7
8
9
# File 'lib/floobs/base.rb', line 6

def initialize(api_key, format_options={})
  # needed for upload 
  @auth = { :api_key => api_key }
end