lib/vagrant-notify/config.rb in vagrant-notify-0.5.2 vs lib/vagrant-notify/config.rb in vagrant-notify-0.5.3
- old
+ new
@@ -3,11 +3,10 @@
class Config < Vagrant.plugin(2, :config)
attr_accessor :enable, :bind_ip
def initialize()
@enable = UNSET_VALUE
- @bind_ip = UNSET_VALUE
end
def validate(machine)
errors = _detected_errors
@@ -43,10 +42,9 @@
{ "notify" => errors }
end
def finalize!
@enable = 0 if @enable == UNSET_VALUE
- @bind_ip = @bind_ip if @bind_ip == UNSET_VALUE
end
private
def backed_by_cloud_provider?(machine)