Method: Retailcrm#stores_edit
- Defined in:
- lib/retailcrm.rb
#stores_edit(store) ⇒ Object
Edit store
636 637 638 639 640 641 |
# File 'lib/retailcrm.rb', line 636 def stores_edit(store) code = store[:code] url = "#{@url}reference/stores/#{code}/edit" @params[:store] = store.to_json make_request(url, 'post') end |