Exception: Connectors::GitLab::CustomClient::ClientError
- Inherits:
-
StandardError
- Object
- StandardError
- Connectors::GitLab::CustomClient::ClientError
- Defined in:
- lib/connectors/gitlab/custom_client.rb
Instance Attribute Summary collapse
-
#api_token ⇒ Object
readonly
Returns the value of attribute api_token.
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(status_code, endpoint) ⇒ ClientError
constructor
A new instance of ClientError.
Constructor Details
#initialize(status_code, endpoint) ⇒ ClientError
Returns a new instance of ClientError.
24 25 26 27 |
# File 'lib/connectors/gitlab/custom_client.rb', line 24 def initialize(status_code, endpoint) @status_code = status_code @endpoint = endpoint end |
Instance Attribute Details
#api_token ⇒ Object (readonly)
Returns the value of attribute api_token.
22 23 24 |
# File 'lib/connectors/gitlab/custom_client.rb', line 22 def api_token @api_token end |
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
22 23 24 |
# File 'lib/connectors/gitlab/custom_client.rb', line 22 def endpoint @endpoint end |
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
22 23 24 |
# File 'lib/connectors/gitlab/custom_client.rb', line 22 def status_code @status_code end |