lib/createsend/template.rb in createsend-3.4.0 vs lib/createsend/template.rb in createsend-4.0.0
- old
+ new
@@ -29,14 +29,14 @@
def update(name, html_url, zip_url)
options = { :body => {
:Name => name,
:HtmlPageURL => html_url,
:ZipFileURL => zip_url }.to_json }
- response = put "/templates/#{template_id}.json", options
+ put "/templates/#{template_id}.json", options
end
# Deletes this email template.
def delete
- response = super "/templates/#{template_id}.json", {}
+ super "/templates/#{template_id}.json", {}
end
end
end
\ No newline at end of file