lib/paddle/models/notification.rb in paddle-2.2.0 vs lib/paddle/models/notification.rb in paddle-2.2.1
- old
+ new
@@ -1,10 +1,8 @@
module Paddle
class Notification < Object
-
class << self
-
def list(**params)
response = Client.get_request("notifications", params: params)
Collection.from_response(response, type: Notification)
end
@@ -21,10 +19,8 @@
def logs(id:, **params)
response = Client.get_request("notifications/#{id}/logs", params: params)
Collection.from_response(response, type: NotificationLog)
end
-
end
-
end
end