lib/wcc/media/client.rb in wcc-media-client-0.3.7 vs lib/wcc/media/client.rb in wcc-media-client-0.3.8
- old
+ new
@@ -1,10 +1,11 @@
require 'wcc/api/rest_client'
require_relative 'message'
require_relative 'series'
require_relative 'speaker'
require_relative 'tag'
+require_relative 'playlist'
require_relative 'client/response'
module WCC
module Media
class Client < ::WCC::API::RestClient
@@ -27,10 +28,11 @@
RESOURCES = {
'messages' => WCC::Media::Message,
'series' => WCC::Media::Series,
'speakers' => WCC::Media::Speaker,
- 'tags' => WCC::Media::Tag
+ 'tags' => WCC::Media::Tag,
+ 'playlists' => WCC::Media::Playlist
}.freeze
attr_reader(*RESOURCES.keys)
attr_reader :options