Class: XRoad::Configuration
- Inherits:
-
Object
- Object
- XRoad::Configuration
- Defined in:
- lib/x_road.rb
Instance Attribute Summary collapse
-
#client_cert ⇒ Object
Returns the value of attribute client_cert.
-
#client_key ⇒ Object
Returns the value of attribute client_key.
-
#consumer ⇒ Object
Returns the value of attribute consumer.
-
#host ⇒ Object
Returns the value of attribute host.
-
#log_level ⇒ Object
Returns the value of attribute log_level.
-
#ssl_verify ⇒ Object
Returns the value of attribute ssl_verify.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_cert ⇒ Object
Returns the value of attribute client_cert.
24 25 26 |
# File 'lib/x_road.rb', line 24 def client_cert @client_cert end |
#client_key ⇒ Object
Returns the value of attribute client_key.
25 26 27 |
# File 'lib/x_road.rb', line 25 def client_key @client_key end |
#consumer ⇒ Object
Returns the value of attribute consumer.
27 28 29 |
# File 'lib/x_road.rb', line 27 def consumer @consumer end |
#host ⇒ Object
Returns the value of attribute host.
23 24 25 |
# File 'lib/x_road.rb', line 23 def host @host end |
#log_level ⇒ Object
Returns the value of attribute log_level.
26 27 28 |
# File 'lib/x_road.rb', line 26 def log_level @log_level end |
#ssl_verify ⇒ Object
Returns the value of attribute ssl_verify.
28 29 30 |
# File 'lib/x_road.rb', line 28 def ssl_verify @ssl_verify end |