Module: Umatic
- Defined in:
- lib/client.rb,
lib/umatic.rb,
lib/umatic.rb,
lib/channel/vimeo.rb,
lib/channel/channel.rb,
lib/channel/youtube.rb
Defined Under Namespace
Classes: Channel, HTTPClient, Vimeo, Youtube
Constant Summary
collapse
- VERSION =
'0.1'
Class Method Summary
collapse
Class Method Details
.open(url) ⇒ Object
13
14
15
|
# File 'lib/umatic.rb', line 13
def self.open url
Channel.open url
end
|
.supported_channels ⇒ Object
17
18
19
|
# File 'lib/umatic.rb', line 17
def self.supported_channels
Channel.channels.map { |c| c.to_s.gsub(/Umatic::/, "") }
end
|