lib/kentaa/api/resources/newsletter_subscriptions.rb in kentaa-api-0.3.2 vs lib/kentaa/api/resources/newsletter_subscriptions.rb in kentaa-api-0.4.0
- old
+ new
@@ -8,16 +8,14 @@
def each(&block)
newsletter_subscriptions.each(&block)
end
- protected
+ private
- def load_resource(options)
+ def load_resource
request.get("/newsletter-subscriptions", options)
end
-
- private
def newsletter_subscriptions
@newsletter_subscriptions ||= begin
newsletter_subscriptions = []