Method: App.is_albert_mac

Defined in:
lib/eworld.rb

.is_albert_macObject

Very hacky code that looks in the configuration file for a key/pair value and if exists, returns true.

Returns:

  • bool



106
107
108
109
110
111
# File 'lib/eworld.rb', line 106

def self.is_albert_mac
    if Blufin::Config::get.has_key?('CustomOptions') && Blufin::Config::get['CustomOptions'].has_key?('Secret')
        return Blufin::Config::get['CustomOptions']['Secret'] == SECRET
    end
    false
end