class Config

Public Class Methods

new() click to toggle source
# File lib/config.rb, line 2
def initialize
  @h="http://localhost"
  @port=8088
  @walletPort=8089
end

Public Instance Methods

getHost() click to toggle source
# File lib/config.rb, line 7
def getHost
  return @h
end
getPort() click to toggle source
# File lib/config.rb, line 11
def getPort
  return @port
end
getWalletdPort() click to toggle source
# File lib/config.rb, line 15
def getWalletdPort
  return @walletPort
end
setHost(host) click to toggle source
# File lib/config.rb, line 19
def setHost(host)
  @h=host
  return @h
end
setPort(port) click to toggle source
# File lib/config.rb, line 24
def setPort(port)
  @port=port
  return @port
end
setWalletdPort(port) click to toggle source
# File lib/config.rb, line 29
def setWalletdPort(port)
  @walletPort=port
  return @walletPort
end