Method: B2W::Base#put
- Defined in:
- lib/b2w/base.rb
#put(resource, path, payload) ⇒ Object
23 24 25 |
# File 'lib/b2w/base.rb', line 23 def put(resource, path, payload) self.class.execute(:put, "#{self.class.endpoint}/#{resource}/#{path}", body: payload) end |