lib/createsend/administrator.rb in createsend-1.1.1 vs lib/createsend/administrator.rb in createsend-2.0.0
- old
+ new
@@ -24,11 +24,11 @@
:Name => name
}.to_json }
response = CreateSend.post "/admins.json", options
Hashie::Mash.new(response)
end
-
+
# Updates the administator details
def update(new_email_address, name)
options = {
:query => { :email => @email_address },
:body => {
@@ -42,8 +42,8 @@
# deletes this administrator from the account
def delete
options = { :query => { :email => @email_address } }
CreateSend.delete '/admins.json', options
- end
+ end
end
end
\ No newline at end of file