Exception: ConnectorsSdk::GitLab::CustomClient::ClientError

Inherits:
ConnectorsShared::ClientError show all
Defined in:
lib/connectors_sdk/gitlab/custom_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#endpointObject (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_codeObject (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