Class: QingCloud::SDK::Client::Foundation
- Inherits:
-
Object
- Object
- QingCloud::SDK::Client::Foundation
- Defined in:
- lib/qingcloud/sdk/client/foundation.rb
Direct Known Subclasses
Constant Summary collapse
- ERROR_CODE_MAP =
{ 1100 => 'Request Format Invalid', 1200 => 'Authentication Failed', 1300 => 'Request Expired', 1400 => 'Request Denied', 2100 => 'Resource Not Found', 2400 => 'Balance Insufficient', 2500 => 'Over Quota', 5000 => 'Internal Error', 5100 => 'Server Busy', 5200 => 'Resources Inadequate', 5300 => 'Server Updating', }
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(connector) ⇒ Foundation
constructor
A new instance of Foundation.
Constructor Details
#initialize(connector) ⇒ Foundation
Returns a new instance of Foundation.
23 24 25 |
# File 'lib/qingcloud/sdk/client/foundation.rb', line 23 def initialize(connector) @connector = connector end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
21 22 23 |
# File 'lib/qingcloud/sdk/client/foundation.rb', line 21 def response @response end |