Class: DropboxApi::Endpoints::RpcContent

Inherits:
Rpc
  • Object
show all
Defined in:
lib/dropbox_api/endpoints/rpc_content.rb

Direct Known Subclasses

Files::GetThumbnailBatch

Instance Method Summary collapse

Methods inherited from Rpc

#build_request, #request_body

Methods inherited from Base

add_endpoint

Constructor Details

#initialize(builder) ⇒ RpcContent

Returns a new instance of RpcContent.


3
4
5
6
7
# File 'lib/dropbox_api/endpoints/rpc_content.rb', line 3

def initialize(builder)
  @connection = builder.build("https://content.dropboxapi.com") do |c|
    c.response :decode_result
  end
end