Module: Pingpp::APIOperations::Update::ClassMethods
- Defined in:
- lib/pingpp/api_operations/update.rb
Instance Method Summary collapse
Instance Method Details
#update(id, params = {}, api_key = nil) ⇒ Object
5 6 7 8 |
# File 'lib/pingpp/api_operations/update.rb', line 5 def update(id, params={}, api_key=nil) response, opts = Pingpp.request(:put, "#{self.url}/#{id}", api_key, params) Util.convert_to_pingpp_object(response, opts) end |