Class: WallixRestClient::Configuration
- Inherits:
-
Object
- Object
- WallixRestClient::Configuration
- Defined in:
- lib/wallix_rest_client.rb
Overview
Handle the Wallix REST API Settings
Instance Attribute Summary collapse
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
-
#options ⇒ Object
Returns the value of attribute options.
-
#secret ⇒ Object
Returns the value of attribute secret.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
22 23 24 25 26 27 28 29 30 |
# File 'lib/wallix_rest_client.rb', line 22 def initialize @base_uri = '' @user = '' @secret = '' @options = { auth: :basic, verify_ssl: true } end |
Instance Attribute Details
#base_uri ⇒ Object
Returns the value of attribute base_uri.
20 21 22 |
# File 'lib/wallix_rest_client.rb', line 20 def base_uri @base_uri end |
#options ⇒ Object
Returns the value of attribute options.
20 21 22 |
# File 'lib/wallix_rest_client.rb', line 20 def @options end |
#secret ⇒ Object
Returns the value of attribute secret.
20 21 22 |
# File 'lib/wallix_rest_client.rb', line 20 def secret @secret end |
#user ⇒ Object
Returns the value of attribute user.
20 21 22 |
# File 'lib/wallix_rest_client.rb', line 20 def user @user end |