class HashiCorp::VagrantVMwareDesktop::SetupPlugin

Public Class Methods

new(app, env) click to toggle source
# File lib/vagrant-vmware-desktop/setup_plugin.rb, line 6
def initialize(app, env)
  @app = app
end

Public Instance Methods

call(env) click to toggle source
# File lib/vagrant-vmware-desktop/setup_plugin.rb, line 10
def call(env)
  # Initialize i18n
  VagrantVMwareDesktop.init_i18n

  # Initialize logging
  VagrantVMwareDesktop.init_logging

  # Start the checks for the plugin and utility
  CheckpointClient.instance.setup(env[:env]).check

  @app.call(env)
end