Method: RTX::API::Collection#update!

Defined in:
lib/rtx/api/collection.rb

#update!(attrs = {}) ⇒ Object

Updates a resource via PUT and returns it on success



26
27
28
29
# File 'lib/rtx/api/collection.rb', line 26

def update!(attrs = {})
  client.authenticate if !client.authenticated?
  put(symbolize_hash(attrs))
end