Class: Yasd::Config
- Inherits:
-
Object
- Object
- Yasd::Config
- Defined in:
- lib/yasd/config.rb
Instance Attribute Summary collapse
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#password ⇒ Object
Returns the value of attribute password.
-
#security_token ⇒ Object
Returns the value of attribute security_token.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize {|_self| ... } ⇒ Config
Returns a new instance of Config.
9 10 11 |
# File 'lib/yasd/config.rb', line 9 def initialize yield(self) if block_given? end |
Instance Attribute Details
#api_version ⇒ Object
Returns the value of attribute api_version.
7 8 9 |
# File 'lib/yasd/config.rb', line 7 def api_version @api_version end |
#client_id ⇒ Object
Returns the value of attribute client_id.
7 8 9 |
# File 'lib/yasd/config.rb', line 7 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
7 8 9 |
# File 'lib/yasd/config.rb', line 7 def client_secret @client_secret end |
#password ⇒ Object
Returns the value of attribute password.
7 8 9 |
# File 'lib/yasd/config.rb', line 7 def password @password end |
#security_token ⇒ Object
Returns the value of attribute security_token.
7 8 9 |
# File 'lib/yasd/config.rb', line 7 def security_token @security_token end |
#username ⇒ Object
Returns the value of attribute username.
7 8 9 |
# File 'lib/yasd/config.rb', line 7 def username @username end |