lib/cose/key/rsa.rb in cose-0.9.0 vs lib/cose/key/rsa.rb in cose-0.10.0
- old
+ new
@@ -40,10 +40,10 @@
dq: params["dmq1"].to_s(2),
qinv: params["iqmp"].to_s(2)
)
end
- new(attributes)
+ new(**attributes)
end
attr_reader :n, :e, :d, :p, :q, :dp, :dq, :qinv
def initialize(n:, e:, d: nil, p: nil, q: nil, dp: nil, dq: nil, qinv: nil, **keyword_arguments) # rubocop:disable Naming/UncommunicativeMethodParamName