Class: SfCli::Sf::Org::Display::ConnectionInfo
- Inherits:
-
Struct
- Object
- Struct
- SfCli::Sf::Org::Display::ConnectionInfo
- Defined in:
- lib/sf_cli/sf/org/display.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#alias ⇒ Object
Returns the value of attribute alias.
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#id ⇒ Object
Returns the value of attribute id.
-
#instance_url ⇒ Object
Returns the value of attribute instance_url.
-
#status ⇒ Object
Returns the value of attribute status.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Instance Method Summary collapse
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token
3 4 5 |
# File 'lib/sf_cli/sf/org/display.rb', line 3 def access_token @access_token end |
#alias ⇒ Object
Returns the value of attribute alias
3 4 5 |
# File 'lib/sf_cli/sf/org/display.rb', line 3 def alias @alias end |
#api_version ⇒ Object
Returns the value of attribute api_version
3 4 5 |
# File 'lib/sf_cli/sf/org/display.rb', line 3 def api_version @api_version end |
#id ⇒ Object
Returns the value of attribute id
3 4 5 |
# File 'lib/sf_cli/sf/org/display.rb', line 3 def id @id end |
#instance_url ⇒ Object
Returns the value of attribute instance_url
3 4 5 |
# File 'lib/sf_cli/sf/org/display.rb', line 3 def instance_url @instance_url end |
#status ⇒ Object
Returns the value of attribute status
3 4 5 |
# File 'lib/sf_cli/sf/org/display.rb', line 3 def status @status end |
#user_name ⇒ Object
Returns the value of attribute user_name
3 4 5 |
# File 'lib/sf_cli/sf/org/display.rb', line 3 def user_name @user_name end |
Instance Method Details
#connected? ⇒ Boolean
4 5 6 |
# File 'lib/sf_cli/sf/org/display.rb', line 4 def connected? status == 'Connected' end |