lib/vimeo/advanced/video_embed.rb in vimeo-1.4.0 vs lib/vimeo/advanced/video_embed.rb in vimeo-1.4.1
- old
+ new
@@ -2,16 +2,16 @@
module Advanced
class VideoEmbed < Vimeo::Advanced::Base
# Returns a list of presets for a video embed.
create_api_method :get_presets,
- "vimeo.video.embed.getPresets",
+ "vimeo.videos.embed.getPresets",
:optional => [:page, :per_page]
# Sets a preset for a video embed.
create_api_method :set_preset,
- "vimeo.video.embed.setPreset",
+ "vimeo.videos.embed.setPreset",
:required => [:video_id, :preset_id]
end # VideoEmbed
end # Advanced
-end # Vimeo
\ No newline at end of file
+end # Vimeo