Method: Morpheus::LibraryInstanceTypesInterface#update
- Defined in:
- lib/morpheus/api/library_instance_types_interface.rb
#update(id, options) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/morpheus/api/library_instance_types_interface.rb', line 30 def update(id, ) url = "#{@base_url}/api/library/#{id}" headers = { :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' } payload = opts = {method: :put, url: url, headers: headers, payload: payload.to_json} execute(opts) end |