lib/vimeo_ruby.rb in vimeo_ruby-0.1.0 vs lib/vimeo_ruby.rb in vimeo_ruby-0.2.0
- old
+ new
@@ -1,20 +1,11 @@
# frozen_string_literal: true
-require "net/http"
-require_relative "vimeo_ruby/version"
+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
-
- class Vimeo
- attr_reader :base_uri
-
- def initialize
- @base_uri = URI("https://api.vimeo.com/tutorial")
- end
-
- def tutorial_request
- Net::HTTP.get_response(base_uri, { "Authorization": "bearer #{ENV["VIMEO_ACCESS_TOKEN"]}" })
- end
- end
end