Class: Simbiotes::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/simbiotes/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/simbiotes/configuration.rb', line 6

def initialize
  @public_key = nil
  @private_key = nil
  @local_logging = true
  @targets = nil
  @local_port = 8001
  @server = "rgs.microarx.com"
  @server_port = 8000
  @portal = "https://www.simbiotes.com/"
  @push = false
  @tls = true
  @verify_peer = true
  @handshake = true
end

Instance Attribute Details

#handshakeObject

Returns the value of attribute handshake.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def handshake
  @handshake
end

#local_loggingObject

Returns the value of attribute local_logging.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def local_logging
  @local_logging
end

#local_portObject

Returns the value of attribute local_port.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def local_port
  @local_port
end

#portalObject

Returns the value of attribute portal.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def portal
  @portal
end

#private_keyObject

Returns the value of attribute private_key.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def private_key
  @private_key
end

#public_keyObject

Returns the value of attribute public_key.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def public_key
  @public_key
end

#pushObject

Returns the value of attribute push.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def push
  @push
end

#serverObject

Returns the value of attribute server.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def server
  @server
end

#server_portObject

Returns the value of attribute server_port.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def server_port
  @server_port
end

#targetsObject

Returns the value of attribute targets.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def targets
  @targets
end

#tlsObject

Returns the value of attribute tls.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def tls
  @tls
end

#verify_peerObject

Returns the value of attribute verify_peer.



4
5
6
# File 'lib/simbiotes/configuration.rb', line 4

def verify_peer
  @verify_peer
end