lib/acme/client/resources/account.rb in acme-client-2.0.1 vs lib/acme/client/resources/account.rb in acme-client-2.0.2
- old
+ new
@@ -11,22 +11,22 @@
def kid
url
end
def update(contact: nil, terms_of_service_agreed: nil)
- assign_attributes **@client.account_update(
+ assign_attributes(**@client.account_update(
contact: contact, terms_of_service_agreed: term_of_service
- ).to_h
+ ).to_h)
true
end
def deactivate
- assign_attributes **@client.account_deactivate.to_h
+ assign_attributes(**@client.account_deactivate.to_h)
true
end
def reload
- assign_attributes **@client.account.to_h
+ assign_attributes(**@client.account.to_h)
true
end
def to_h
{