Exception: ConnectorsSdk::GitLab::CustomClient::ClientError
- Inherits:
-
ConnectorsShared::ClientError
- Object
- StandardError
- ConnectorsShared::ClientError
- ConnectorsSdk::GitLab::CustomClient::ClientError
- Defined in:
- lib/connectors_sdk/gitlab/custom_client.rb
Instance Attribute Summary collapse
-
#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.
20 21 22 23 |
# File 'lib/connectors_sdk/gitlab/custom_client.rb', line 20 def initialize(status_code, endpoint) @status_code = status_code @endpoint = endpoint end |
Instance Attribute Details
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
18 19 20 |
# File 'lib/connectors_sdk/gitlab/custom_client.rb', line 18 def endpoint @endpoint end |
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
18 19 20 |
# File 'lib/connectors_sdk/gitlab/custom_client.rb', line 18 def status_code @status_code end |