lib/kentaa/api/resources/site.rb in kentaa-api-0.4.0 vs lib/kentaa/api/resources/site.rb in kentaa-api-0.5.0
- old
+ new
@@ -91,9 +91,13 @@
def manual_donations
@manual_donations ||= Kentaa::Api::Resources::ManualDonations.new(config)
end
+ def newsletter_subscriptions
+ @newsletter_subscriptions ||= Kentaa::Api::Resources::NewsletterSubscriptions.new(config)
+ end
+
private
def load_resource
request.get("/sites/current", options)
end