lib/vimeo_ruby.rb in vimeo_ruby-0.2.0 vs lib/vimeo_ruby.rb in vimeo_ruby-0.3.0
- old
+ new
@@ -1,11 +1,20 @@
# frozen_string_literal: true
+require "ostruct"
require "vimeo_ruby/base"
require "vimeo_ruby/user"
require "vimeo_ruby/user/uploaded_video_collection"
require "vimeo_ruby/version"
require "vimeo_ruby/video"
module VimeoRuby
class Error < StandardError; end
+
+ def self.get_user(vimeo_id)
+ User.get_user(vimeo_id)
+ end
+
+ def self.get_video(vimeo_id)
+ Video.get_video(vimeo_id)
+ end
end