           title    : "Create"
           style    : "modal-clean-green"
           callback : =>
+            info arguments
 
   @generateAddCredentialFormFor = (provider)->
 

  @create = (options, callback)->
    KD.remote.api.ComputeProvider.create options, callback

  @showProvidersModal = ->
    new KDModalView
      title        : 'Add Virtual Machine'
      cssClass     : 'provider-modal'

class ComputeProvider extends KDObject

  requiresLogin = do -> ({ message }, fn) -> ->

    return unless KD.isLoggedIn()
      new KDNotificationView
        title: message

    fn()

  @providers = KD.config.providers

