Class: DocuSign_eSign::NotaryApi
- Inherits:
-
Object
- Object
- DocuSign_eSign::NotaryApi
- Defined in:
- lib/docusign_esign/api/notary_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#create_notary(notary) ⇒ Notary
Add a notary to the system.
-
#create_notary_jurisdictions(notary_jurisdiction) ⇒ NotaryJurisdiction
Add a notary jurisdiction to the system.
-
#create_notary_jurisdictions_with_http_info(notary_jurisdiction) ⇒ Array<(NotaryJurisdiction, Fixnum, Hash)>
Add a notary jurisdiction to the system.
-
#create_notary_with_http_info(notary) ⇒ Array<(Notary, Fixnum, Hash)>
Add a notary to the system.
-
#delete_notary_jurisdiction(jurisdiction_id) ⇒ nil
Delete a notary jurisdiction a specified user.
-
#delete_notary_jurisdiction_with_http_info(jurisdiction_id) ⇒ Array<(nil, Fixnum, Hash)>
Delete a notary jurisdiction a specified user.
-
#get_notary(options = DocuSign_eSign::GetNotaryOptions.default) ⇒ NotaryResult
Get notary settings for a user.
-
#get_notary_jurisdiction(jurisdiction_id) ⇒ NotaryJurisdiction
Get notary a jurisdiction for a user.
-
#get_notary_jurisdiction_seal(jurisdiction_id) ⇒ nil
Get notary seal for a jurisdiction.
-
#get_notary_jurisdiction_seal_with_http_info(jurisdiction_id) ⇒ Array<(nil, Fixnum, Hash)>
Get notary seal for a jurisdiction.
-
#get_notary_jurisdiction_with_http_info(jurisdiction_id) ⇒ Array<(NotaryJurisdiction, Fixnum, Hash)>
Get notary a jurisdiction for a user.
-
#get_notary_jurisdictions ⇒ NotaryJurisdictionList
Get notary jurisdictions for a user.
-
#get_notary_jurisdictions_with_http_info ⇒ Array<(NotaryJurisdictionList, Fixnum, Hash)>
Get notary jurisdictions for a user.
-
#get_notary_with_http_info(options = DocuSign_eSign::GetNotaryOptions.default) ⇒ Array<(NotaryResult, Fixnum, Hash)>
Get notary settings for a user.
-
#initialize(api_client = NotaryApi.default) ⇒ NotaryApi
constructor
A new instance of NotaryApi.
-
#list_notary_journals(options = DocuSign_eSign::ListNotaryJournalsOptions.default) ⇒ NotaryJournalList
Get notary jurisdictions for a user.
-
#list_notary_journals_with_http_info(options = DocuSign_eSign::ListNotaryJournalsOptions.default) ⇒ Array<(NotaryJournalList, Fixnum, Hash)>
Get notary jurisdictions for a user.
-
#update_notary(notary) ⇒ Notary
Update a notary.
-
#update_notary_jurisdiction(jurisdiction_id, notary_jurisdiction) ⇒ NotaryJurisdiction
Update a notary jurisdiction.
-
#update_notary_jurisdiction_with_http_info(jurisdiction_id, notary_jurisdiction) ⇒ Array<(NotaryJurisdiction, Fixnum, Hash)>
Update a notary jurisdiction.
-
#update_notary_with_http_info(notary) ⇒ Array<(Notary, Fixnum, Hash)>
Update a notary.
Constructor Details
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
43 44 45 |
# File 'lib/docusign_esign/api/notary_api.rb', line 43 def api_client @api_client end |
Instance Method Details
#create_notary(notary) ⇒ Notary
Add a notary to the system
53 54 55 56 |
# File 'lib/docusign_esign/api/notary_api.rb', line 53 def create_notary(notary) data, _status_code, _headers = create_notary_with_http_info( notary) return data end |
#create_notary_jurisdictions(notary_jurisdiction) ⇒ NotaryJurisdiction
Add a notary jurisdiction to the system
100 101 102 103 |
# File 'lib/docusign_esign/api/notary_api.rb', line 100 def create_notary_jurisdictions(notary_jurisdiction) data, _status_code, _headers = create_notary_jurisdictions_with_http_info( notary_jurisdiction) return data end |
#create_notary_jurisdictions_with_http_info(notary_jurisdiction) ⇒ Array<(NotaryJurisdiction, Fixnum, Hash)>
Add a notary jurisdiction to the system
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
# File 'lib/docusign_esign/api/notary_api.rb', line 109 def create_notary_jurisdictions_with_http_info(notary_jurisdiction) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NotaryApi.create_notary_jurisdictions ..." end # resource path local_var_path = "/v2.1/current_user/notary/jurisdictions".sub('{format}','json') # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(notary_jurisdiction) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'NotaryJurisdiction') if @api_client.config.debugging @api_client.config.logger.debug "API called: NotaryApi#create_notary_jurisdictions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_notary_with_http_info(notary) ⇒ Array<(Notary, Fixnum, Hash)>
Add a notary to the system
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/docusign_esign/api/notary_api.rb', line 62 def create_notary_with_http_info(notary) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NotaryApi.create_notary ..." end # resource path local_var_path = "/v2.1/current_user/notary".sub('{format}','json') # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(notary) auth_names = [] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Notary') if @api_client.config.debugging @api_client.config.logger.debug "API called: NotaryApi#create_notary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#delete_notary_jurisdiction(jurisdiction_id) ⇒ nil
Delete a notary jurisdiction a specified user.
147 148 149 150 |
# File 'lib/docusign_esign/api/notary_api.rb', line 147 def delete_notary_jurisdiction(jurisdiction_id) delete_notary_jurisdiction_with_http_info(jurisdiction_id) return nil end |
#delete_notary_jurisdiction_with_http_info(jurisdiction_id) ⇒ Array<(nil, Fixnum, Hash)>
Delete a notary jurisdiction a specified user.
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 |
# File 'lib/docusign_esign/api/notary_api.rb', line 156 def delete_notary_jurisdiction_with_http_info(jurisdiction_id) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NotaryApi.delete_notary_jurisdiction ..." end # verify the required parameter 'jurisdiction_id' is set fail ArgumentError, "Missing the required parameter 'jurisdiction_id' when calling NotaryApi.delete_notary_jurisdiction" if jurisdiction_id.nil? # resource path local_var_path = "/v2.1/current_user/notary/jurisdictions/{jurisdictionId}".sub('{format}','json').sub('{' + 'jurisdictionId' + '}', jurisdiction_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: NotaryApi#delete_notary_jurisdiction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_notary(options = DocuSign_eSign::GetNotaryOptions.default) ⇒ NotaryResult
Get notary settings for a user
195 196 197 198 |
# File 'lib/docusign_esign/api/notary_api.rb', line 195 def get_notary( = DocuSign_eSign::GetNotaryOptions.default) data, _status_code, _headers = get_notary_with_http_info() return data end |
#get_notary_jurisdiction(jurisdiction_id) ⇒ NotaryJurisdiction
Get notary a jurisdiction for a user
243 244 245 246 |
# File 'lib/docusign_esign/api/notary_api.rb', line 243 def get_notary_jurisdiction(jurisdiction_id) data, _status_code, _headers = get_notary_jurisdiction_with_http_info(jurisdiction_id) return data end |
#get_notary_jurisdiction_seal(jurisdiction_id) ⇒ nil
Get notary seal for a jurisdiction
292 293 294 295 |
# File 'lib/docusign_esign/api/notary_api.rb', line 292 def get_notary_jurisdiction_seal(jurisdiction_id) get_notary_jurisdiction_seal_with_http_info(jurisdiction_id) return nil end |
#get_notary_jurisdiction_seal_with_http_info(jurisdiction_id) ⇒ Array<(nil, Fixnum, Hash)>
Get notary seal for a jurisdiction
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/docusign_esign/api/notary_api.rb', line 301 def get_notary_jurisdiction_seal_with_http_info(jurisdiction_id) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NotaryApi.get_notary_jurisdiction_seal ..." end # verify the required parameter 'jurisdiction_id' is set fail ArgumentError, "Missing the required parameter 'jurisdiction_id' when calling NotaryApi.get_notary_jurisdiction_seal" if jurisdiction_id.nil? # resource path local_var_path = "/v2.1/current_user/notary/jurisdictions/{jurisdictionId}/seal".sub('{format}','json').sub('{' + 'jurisdictionId' + '}', jurisdiction_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: NotaryApi#get_notary_jurisdiction_seal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_notary_jurisdiction_with_http_info(jurisdiction_id) ⇒ Array<(NotaryJurisdiction, Fixnum, Hash)>
Get notary a jurisdiction for a user
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'lib/docusign_esign/api/notary_api.rb', line 252 def get_notary_jurisdiction_with_http_info(jurisdiction_id) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NotaryApi.get_notary_jurisdiction ..." end # verify the required parameter 'jurisdiction_id' is set fail ArgumentError, "Missing the required parameter 'jurisdiction_id' when calling NotaryApi.get_notary_jurisdiction" if jurisdiction_id.nil? # resource path local_var_path = "/v2.1/current_user/notary/jurisdictions/{jurisdictionId}".sub('{format}','json').sub('{' + 'jurisdictionId' + '}', jurisdiction_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'NotaryJurisdiction') if @api_client.config.debugging @api_client.config.logger.debug "API called: NotaryApi#get_notary_jurisdiction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_notary_jurisdictions ⇒ NotaryJurisdictionList
Get notary jurisdictions for a user
339 340 341 342 |
# File 'lib/docusign_esign/api/notary_api.rb', line 339 def get_notary_jurisdictions() data, _status_code, _headers = get_notary_jurisdictions_with_http_info() return data end |
#get_notary_jurisdictions_with_http_info ⇒ Array<(NotaryJurisdictionList, Fixnum, Hash)>
Get notary jurisdictions for a user
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'lib/docusign_esign/api/notary_api.rb', line 347 def get_notary_jurisdictions_with_http_info() if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NotaryApi.get_notary_jurisdictions ..." end # resource path local_var_path = "/v2.1/current_user/notary/jurisdictions".sub('{format}','json') # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'NotaryJurisdictionList') if @api_client.config.debugging @api_client.config.logger.debug "API called: NotaryApi#get_notary_jurisdictions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_notary_with_http_info(options = DocuSign_eSign::GetNotaryOptions.default) ⇒ Array<(NotaryResult, Fixnum, Hash)>
Get notary settings for a user
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 |
# File 'lib/docusign_esign/api/notary_api.rb', line 204 def get_notary_with_http_info( = DocuSign_eSign::GetNotaryOptions.default) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NotaryApi.get_notary ..." end # resource path local_var_path = "/v2.1/current_user/notary".sub('{format}','json') # query parameters query_params = {} query_params[:'include_jurisdictions'] = .include_jurisdictions if !.include_jurisdictions.nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'NotaryResult') if @api_client.config.debugging @api_client.config.logger.debug "API called: NotaryApi#get_notary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#list_notary_journals(options = DocuSign_eSign::ListNotaryJournalsOptions.default) ⇒ NotaryJournalList
Get notary jurisdictions for a user
385 386 387 388 |
# File 'lib/docusign_esign/api/notary_api.rb', line 385 def list_notary_journals( = DocuSign_eSign::ListNotaryJournalsOptions.default) data, _status_code, _headers = list_notary_journals_with_http_info() return data end |
#list_notary_journals_with_http_info(options = DocuSign_eSign::ListNotaryJournalsOptions.default) ⇒ Array<(NotaryJournalList, Fixnum, Hash)>
Get notary jurisdictions for a user
394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'lib/docusign_esign/api/notary_api.rb', line 394 def list_notary_journals_with_http_info( = DocuSign_eSign::ListNotaryJournalsOptions.default) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NotaryApi.list_notary_journals ..." end # resource path local_var_path = "/v2.1/current_user/notary/journals".sub('{format}','json') # query parameters query_params = {} query_params[:'count'] = .count if !.count.nil? query_params[:'search_text'] = .search_text if !.search_text.nil? query_params[:'start_position'] = .start_position if !.start_position.nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'NotaryJournalList') if @api_client.config.debugging @api_client.config.logger.debug "API called: NotaryApi#list_notary_journals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_notary(notary) ⇒ Notary
Update a notary
435 436 437 438 |
# File 'lib/docusign_esign/api/notary_api.rb', line 435 def update_notary(notary) data, _status_code, _headers = update_notary_with_http_info( notary) return data end |
#update_notary_jurisdiction(jurisdiction_id, notary_jurisdiction) ⇒ NotaryJurisdiction
Update a notary jurisdiction
483 484 485 486 |
# File 'lib/docusign_esign/api/notary_api.rb', line 483 def update_notary_jurisdiction(jurisdiction_id, notary_jurisdiction) data, _status_code, _headers = update_notary_jurisdiction_with_http_info(jurisdiction_id, notary_jurisdiction) return data end |
#update_notary_jurisdiction_with_http_info(jurisdiction_id, notary_jurisdiction) ⇒ Array<(NotaryJurisdiction, Fixnum, Hash)>
Update a notary jurisdiction
493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 |
# File 'lib/docusign_esign/api/notary_api.rb', line 493 def update_notary_jurisdiction_with_http_info(jurisdiction_id, notary_jurisdiction) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NotaryApi.update_notary_jurisdiction ..." end # verify the required parameter 'jurisdiction_id' is set fail ArgumentError, "Missing the required parameter 'jurisdiction_id' when calling NotaryApi.update_notary_jurisdiction" if jurisdiction_id.nil? # resource path local_var_path = "/v2.1/current_user/notary/jurisdictions/{jurisdictionId}".sub('{format}','json').sub('{' + 'jurisdictionId' + '}', jurisdiction_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(notary_jurisdiction) auth_names = [] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'NotaryJurisdiction') if @api_client.config.debugging @api_client.config.logger.debug "API called: NotaryApi#update_notary_jurisdiction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#update_notary_with_http_info(notary) ⇒ Array<(Notary, Fixnum, Hash)>
Update a notary
444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 |
# File 'lib/docusign_esign/api/notary_api.rb', line 444 def update_notary_with_http_info(notary) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NotaryApi.update_notary ..." end # resource path local_var_path = "/v2.1/current_user/notary".sub('{format}','json') # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(notary) auth_names = [] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Notary') if @api_client.config.debugging @api_client.config.logger.debug "API called: NotaryApi#update_notary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |