lib/dropbox_api/endpoints/rpc.rb in dropbox_api-0.1.19 vs lib/dropbox_api/endpoints/rpc.rb in dropbox_api-0.1.20

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true module DropboxApi::Endpoints class Rpc < DropboxApi::Endpoints::Base - def initialize(builder) - @connection = builder.build('https://api.dropboxapi.com') do |c| + def build_connection + @connection = @builder.build('https://api.dropboxapi.com') do |c| c.response :decode_result end end def build_request(params)