Class: RingCentralSdk::REST::ConfigUser
- Inherits:
-
Object
- Object
- RingCentralSdk::REST::ConfigUser
- Defined in:
- lib/ringcentral_sdk/rest/config.rb
Instance Attribute Summary collapse
-
#extension ⇒ Object
Returns the value of attribute extension.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Instance Attribute Details
#extension ⇒ Object
Returns the value of attribute extension.
28 29 30 |
# File 'lib/ringcentral_sdk/rest/config.rb', line 28 def extension @extension end |
#password ⇒ Object
Returns the value of attribute password.
29 30 31 |
# File 'lib/ringcentral_sdk/rest/config.rb', line 29 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
27 28 29 |
# File 'lib/ringcentral_sdk/rest/config.rb', line 27 def username @username end |
Instance Method Details
#load_env ⇒ Object
31 32 33 34 35 |
# File 'lib/ringcentral_sdk/rest/config.rb', line 31 def load_env @username = ENV['RC_USER_USERNAME'] @extension = ENV['RC_USER_EXTENSION'] @password = ENV['RC_USER_PASSWORD'] end |
#nilify ⇒ Object
37 38 39 40 41 |
# File 'lib/ringcentral_sdk/rest/config.rb', line 37 def nilify @username = '' @extension = '' @password = '' end |