Class: XRoad::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



30
31
32
33
# File 'lib/x_road.rb', line 30

def initialize
  @log_level = :info
  @ssl_verify = :none
end

Instance Attribute Details

#client_certObject

Returns the value of attribute client_cert.



24
25
26
# File 'lib/x_road.rb', line 24

def client_cert
  @client_cert
end

#client_keyObject

Returns the value of attribute client_key.



25
26
27
# File 'lib/x_road.rb', line 25

def client_key
  @client_key
end

#consumerObject

Returns the value of attribute consumer.



27
28
29
# File 'lib/x_road.rb', line 27

def consumer
  @consumer
end

#hostObject

Returns the value of attribute host.



23
24
25
# File 'lib/x_road.rb', line 23

def host
  @host
end

#log_levelObject

Returns the value of attribute log_level.



26
27
28
# File 'lib/x_road.rb', line 26

def log_level
  @log_level
end

#ssl_verifyObject

Returns the value of attribute ssl_verify.



28
29
30
# File 'lib/x_road.rb', line 28

def ssl_verify
  @ssl_verify
end