class Mdm::ApiKey

API key to access the RPC.

Protected Instance Methods

supports_api() click to toggle source

Validates whether License supports API.

@return [void] @todo MSP-2724

# File app/models/mdm/api_key.rb, line 52
def supports_api
  license = License.get

  if license and not license.supports_api?
    errors[:license] = " - this product does not support API access"
  end
end