Permalink
Browse files

add `RpcContent` endpoint

  • Loading branch information...
kilgore5 committed Feb 6, 2018
1 parent 18c1ec8 commit 83981c28f1ccc51de1d3fbd6526fa5b11f2b3799
Showing with 10 additions and 0 deletions.
  1. +1 −0 lib/dropbox_api.rb
  2. +9 −0 lib/dropbox_api/endpoints/rpc_content.rb
@@ -122,6 +122,7 @@

require 'dropbox_api/endpoints/base'
require 'dropbox_api/endpoints/rpc'
require 'dropbox_api/endpoints/rpc_content'
require 'dropbox_api/endpoints/rpc_notify'
require 'dropbox_api/endpoints/content_download'
require 'dropbox_api/endpoints/content_upload'
@@ -0,0 +1,9 @@
module DropboxApi::Endpoints
class RpcContent < DropboxApi::Endpoints::Rpc
def initialize(builder)
@connection = builder.build("https://content.dropboxapi.com") do |c|
c.response :decode_result
end
end
end
end

0 comments on commit 83981c2

Please sign in to comment.