Sha256: 96b173beff2de693a149e0b2ee1f18167bcda934be819dc1713910e428c86ce4
Contents?: true
Size: 518 Bytes
Versions: 5
Compression:
Stored size: 518 Bytes
Contents
module Universign class SignatureField attr_reader :params def initialize(coordinate:, name: nil, page:, signer_index: 0) @coordinate = coordinate || [0, 0] @name = name @page = page @signer_index = signer_index @params = { page: @page, x: @coordinate[0], y: @coordinate[1], 'signerIndex': @signer_index } @params[:name] = @name unless @name.nil? @params end end end
Version data entries
5 entries across 5 versions & 1 rubygems