class Echosign::Fileinfo
Public Class Methods
new(params)
click to toggle source
Validates Fileinfo
params
@param [Hash] params SYMBOL-referenced Hash containing exactly one of the following: @option params [String] :transientDocumentId A transient document ID available to the sender @option params [String] :libraryDocumentId A library document ID available to the sender @option params [String] :libraryDocumentName A library document name available to the sender @option params [Echosign::UrlFileInfo] :documentURL A description of the URL where the document can be found @return [Echosign::Fileinfo]
# File lib/echosign/agreement/fileinfo.rb, line 13 def initialize(params) require_exactly_one([:transientDocumentId, :libraryDocumentId, :libraryDocumentName, :documentURL], params) merge!(params) end