Sha256: d3d84f5302e4c95e6a5885688cef608e1e1be856ca285d8d0029004fbc40d37d
Contents?: true
Size: 652 Bytes
Versions: 6
Compression:
Stored size: 652 Bytes
Contents
module Spree module API class Client module Zones def zones(options={}) get('zones', options)['zones'] end def zone(id, options={}) get("zones/#{id}", options) end def new_zone(options={}) get("zones/#{id}/new", options) end def create_zone(options={}) post("zones", options) end def update_zone(id, options={}) put("zones/#{id}", options) end def delete_zone(id, options={}) delete("zones/#{id}", options) end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems