Class: DropboxApi::Endpoints::RpcNotify

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

Direct Known Subclasses

Files::ListFolderLongpoll

Instance Method Summary collapse

Methods inherited from Rpc

#build_request, #request_body

Methods inherited from Base

add_endpoint

Constructor Details

#initialize(builder) ⇒ RpcNotify

Returns a new instance of RpcNotify.


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

def initialize(builder)
  @connection = builder.build("https://notify.dropboxapi.com") do |c|
    c.headers.delete 'Authorization'

    c.response :decode_result
  end
end