lib/paddle/models/pricing_preview.rb in paddle-2.2.0 vs lib/paddle/models/pricing_preview.rb in paddle-2.2.1

- old
+ new

@@ -1,15 +1,11 @@ module Paddle class PricingPreview < Object - class << self - def generate(items:, **params) - attrs = {items: items} + attrs = { items: items } response = Client.post_request("pricing-preview", body: attrs.merge(params)) PricingPreview.new(response.body["data"]) end - end - end end