Class: BitwardenSDKSecrets::BitwardenSettings
- Inherits:
-
Object
- Object
- BitwardenSDKSecrets::BitwardenSettings
- Defined in:
- lib/bitwarden-sdk-secrets.rb
Instance Attribute Summary collapse
-
#api_url ⇒ Object
Returns the value of attribute api_url.
-
#identity_url ⇒ Object
Returns the value of attribute identity_url.
Instance Method Summary collapse
-
#initialize(api_url, identity_url) ⇒ BitwardenSettings
constructor
A new instance of BitwardenSettings.
Constructor Details
#initialize(api_url, identity_url) ⇒ BitwardenSettings
Returns a new instance of BitwardenSettings.
19 20 21 22 23 24 25 26 |
# File 'lib/bitwarden-sdk-secrets.rb', line 19 def initialize(api_url, identity_url) # if api_url.nil? || identity_url.nil? # raise ArgumentError, "api_url and identity_url cannot be nil" # end @api_url = api_url @identity_url = identity_url end |
Instance Attribute Details
#api_url ⇒ Object
Returns the value of attribute api_url.
17 18 19 |
# File 'lib/bitwarden-sdk-secrets.rb', line 17 def api_url @api_url end |
#identity_url ⇒ Object
Returns the value of attribute identity_url.
17 18 19 |
# File 'lib/bitwarden-sdk-secrets.rb', line 17 def identity_url @identity_url end |