lib/createsend.rb in createsend-2.4.0 vs lib/createsend.rb in createsend-2.5.0
- old
+ new
@@ -100,9 +100,15 @@
def clients
response = CreateSend.get('/clients.json')
response.map{|item| Hashie::Mash.new(item)}
end
+ # Get your billing details.
+ def billing_details
+ response = CreateSend.get('/billingdetails.json')
+ Hashie::Mash.new(response)
+ end
+
# Gets valid countries.
def countries
response = CreateSend.get('/countries.json')
response.parsed_response
end
\ No newline at end of file