lib/xdelivery/client.rb in xdelivery-0.1.0 vs lib/xdelivery/client.rb in xdelivery-0.1.1

- old
+ new

@@ -12,9 +12,15 @@ api = API::Orders.new(merchant_no, access_key) yield(api) api.create! end + def update_products! + api = API::Products.new(merchant_no, access_key) + yield(api) + api.update! + end + def ping! api = API::Ping.new(merchant_no, access_key) api.ping! end end