Method: Morpheus::LicenseInterface#install
- Defined in:
- lib/morpheus/api/license_interface.rb
#install(payload) ⇒ Object
11 12 13 14 15 |
# File 'lib/morpheus/api/license_interface.rb', line 11 def install(payload) url = "#{@base_url}/api/license" headers = { :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' } execute(method: :post, url: url, headers: headers, payload: payload.to_json) end |