Sha256: f0f95fd729ebe8d2a7a69e695ea0ac097fdbf52a15e8c1c6a913088414b8917a

Contents?: true

Size: 1.27 KB

Versions: 18

Compression:

Stored size: 1.27 KB

Contents

#!/usr/bin/ruby
###
###  (c) CloudMunch Inc.
### All Rights Reserved
### Un-authorized copying of this file, via any medium is strictly prohibited
###  Proprietary and confidential
###
###  ganesan@cloudmunch.com
###

$LOAD_PATH << '.'
 
class AppContext
    attr_accessor :masterurl
    attr_accessor :cloudproviders 
    attr_accessor :domainName 
    attr_accessor :project
    attr_accessor :job
    attr_accessor :workspaceLocation
    attr_accessor :archiveLocation 
    attr_accessor :stepid
    attr_accessor :targetServer
    attr_accessor :integrations
    attr_accessor :reportsLocation
    attr_accessor :runnumber
    attr_accessor :apikey 
    attr_accessor :stepname 
    attr_accessor :environmentId


    def initialize(param)
        @masterurl = ""
        @cloudproviders = ""
        @domainName = ""
        @project = ""
        @job = ""
        @workspaceLocation = ""
        @archiveLocation = ""
        @stepid = ""
        @targetServer=""
        @integrations=""
        @reportsLocation=""
        @runnumber=""
        @apikey=""
        @stepname=""
        @environmentId=""
       load_data(param) 
    end

    def load_data(param)
        @AppContextParams = param
    end     

    def get_data(keyname)
        @AppContextParams[keyname] 
    end     


end

Version data entries

18 entries across 13 versions & 2 rubygems

Version Path
cloudmunch_sdk_v3-4.8.0 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-4.7.0 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-4.5.0 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-4.4.0 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-4.3.0 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-4.2.0 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-4.1.0 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-4.0.0 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-4.0.0 lib/cloudmunch_Ruby_sdk_v3/AppContext.rb
cloudmunch_sdk_v3-3.0.9 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-3.0.9 lib/cloudmunch_Ruby_sdk_v3/AppContext.rb
cloudmunch_sdk_v3-3.0.8 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-3.0.8 lib/cloudmunch_Ruby_sdk_v3/AppContext.rb
cloudmunch_sdk_v3-3.0.5 lib/cloudmunch_Ruby_sdk_v3/AppContext.rb
cloudmunch_sdk_v3-3.0.5 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk_v3-3.0.0 lib/cloudmunch_Ruby_sdk_v3/AppContext.rb
cloudmunch_sdk_v3-3.0.0 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
cloudmunch_sdk-1.0.0 lib/cloudmunch_Ruby_sdk_v2/AppContext.rb