class VagrantPlugins::SecuredCloud::Configuration::AuthenticationInfo

Attributes

applicationKey[RW]
sharedSecret[RW]
url[RW]

Public Class Methods

new() click to toggle source
# File lib/secured-cloud-vagrant/configs/authentication_info.rb, line 13
def initialize
  @url = UNSET_VALUE
  @applicationKey = UNSET_VALUE
  @sharedSecret = UNSET_VALUE
end

Public Instance Methods

finalize!() click to toggle source
# File lib/secured-cloud-vagrant/configs/authentication_info.rb, line 36
def finalize!

  @url = nil if(@url == UNSET_VALUE)
  @applicationKey = nil if(@applicationKey == UNSET_VALUE)
  @sharedSecret = nil if(@sharedSecret == UNSET_VALUE)
  
end
merge(other) click to toggle source
Calls superclass method
# File lib/secured-cloud-vagrant/configs/authentication_info.rb, line 23
def merge(other)
  
  super.tap do |result|
    
    result.url = (other.url == UNSET_VALUE) ? @url : other.url
    result.applicationKey = (other.applicationKey == UNSET_VALUE) ? @url : other.applicationKey
    result.sharedSecret = (other.sharedSecret == UNSET_VALUE) ? @sharedSecret : other.sharedSecret
    
  end
  
end
validate(machine) click to toggle source
# File lib/secured-cloud-vagrant/configs/authentication_info.rb, line 19
def validate(machine)
  
end