Class: Qingcloud::Api::Client
- Inherits:
-
Object
- Object
- Qingcloud::Api::Client
- Defined in:
- lib/qingcloud/api/client.rb
Instance Attribute Summary collapse
-
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
-
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
-
#zone ⇒ Object
Returns the value of attribute zone.
Instance Method Summary collapse
-
#initialize(access_key_id, secret_access_key, zone) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(access_key_id, secret_access_key, zone) ⇒ Client
Returns a new instance of Client.
6 7 8 9 10 |
# File 'lib/qingcloud/api/client.rb', line 6 def initialize(access_key_id, secret_access_key, zone) @access_key_id = access_key_id @secret_access_key = secret_access_key @zone = zone end |
Instance Attribute Details
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
4 5 6 |
# File 'lib/qingcloud/api/client.rb', line 4 def access_key_id @access_key_id end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
4 5 6 |
# File 'lib/qingcloud/api/client.rb', line 4 def secret_access_key @secret_access_key end |
#zone ⇒ Object
Returns the value of attribute zone.
4 5 6 |
# File 'lib/qingcloud/api/client.rb', line 4 def zone @zone end |