README.markdown in velir_kaltura-ruby-0.4.0 vs README.markdown in velir_kaltura-ruby-0.4.1
- old
+ new
@@ -29,16 +29,16 @@
partner_id = your_partner_id
subpartner_id = your_subpartner_id
administrator_secret = your_administrator_secret
user_secret = your_user_secret
- config = Kaltura::KalturaConfiguration.new( partner_id )
- client = Kaltura::KalturaClient.new( config )
+ config = Kaltura::Configuration.new( partner_id )
+ client = Kaltura::Client.new( config )
session = client.session_service.start( admin_secret, '', Kaltura::Constants::SessionType::ADMIN )
client.ks = session
- filter = KalturaFilter.new
- pager = KalturaFilterPager.new
+ filter = Kaltura::Filter::BaseFilter.new
+ pager = Kaltura::FilterPager.new
media = client.media_service.list(filter, pager)
puts "\nmedia:"
puts media.to_yaml