Class: Mdm::ApiKey
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Mdm::ApiKey
- Defined in:
- app/models/mdm/api_key.rb
Instance Method Summary collapse
- #supports_api ⇒ Object protected
Instance Method Details
#supports_api ⇒ Object (protected)
11 12 13 14 15 16 17 |
# File 'app/models/mdm/api_key.rb', line 11 def supports_api license = License.get if license and not license.supports_api? errors[:license] = " - this product does not support API access" end end |