examples/orders/get.rb in mollie-api-ruby-4.7.1 vs examples/orders/get.rb in mollie-api-ruby-4.14.0
- old
+ new
@@ -1,3 +1,6 @@
-order = Mollie::Order.get('ord_kEn1PlbGa')
+order = Mollie::Order.get("ord_kEn1PlbGa")
+
+# Embed related resources
+order = Mollie::Order.get("ord_kEn1PlbGa", embed: "payments,refunds,shipments")