Method: Morpheus::LicenseInterface#test
- Defined in:
- lib/morpheus/api/license_interface.rb
#test(payload) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/morpheus/api/license_interface.rb', line 17 def test(payload) # use /test instead, since 4.1.1 url = "#{@base_url}/api/license/decode" headers = { :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' } execute(method: :post, url: url, headers: headers, payload: payload.to_json) end |