lib/clicksign/api/documents_signers.rb in clicksign-api-1.1.0.alpha4 vs lib/clicksign/api/documents_signers.rb in clicksign-api-1.1.0.alpha5
- old
+ new
@@ -22,9 +22,11 @@
create(token: token, params: params)
end
end
def body(params)
+ params = params.transform_keys(&:to_sym)
+
list = ATTRIBUTES.each.with_object({}) do |key, hash|
hash[key] = params[key] if params.has_key?(key)
end
body = { list: list }