Class: WallixRestClient::Configuration

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

Overview

Handle the Wallix REST API Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_uriObject

Returns the value of attribute base_uri.



20
21
22
# File 'lib/wallix_rest_client.rb', line 20

def base_uri
  @base_uri
end

#optionsObject

Returns the value of attribute options.



20
21
22
# File 'lib/wallix_rest_client.rb', line 20

def options
  @options
end

#secretObject

Returns the value of attribute secret.



20
21
22
# File 'lib/wallix_rest_client.rb', line 20

def secret
  @secret
end

#userObject

Returns the value of attribute user.



20
21
22
# File 'lib/wallix_rest_client.rb', line 20

def user
  @user
end