Class: Nifcloud::Client
- Includes:
- Instances
- Defined in:
- lib/nifcloud/client.rb,
lib/nifcloud/client/Instances.rb
Defined Under Namespace
Modules: Instances
Instance Attribute Summary
Attributes inherited from Request
#access_key, #endpoint, #secret_key
Instance Method Summary collapse
Methods included from Instances
#DescribeInstanceAttribute, #DescribeInstances, #ModifyInstanceAttribute, #RebootInstances, #RunInstances, #StartInstances
Methods inherited from API
Methods inherited from Request
#delete, #get, #initialize, #post, #put, set_proxy_config
Constructor Details
This class inherits a constructor from Nifcloud::API
Instance Method Details
#inspect ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/nifcloud/client.rb', line 7 def inspect inspected = super if @secret_key inspected = inspected.sub! @secret_key, only_show_last_four_chars(@secret_key) end if @access_key inspected = inspected.sub! @access_key, only_show_last_four_chars(@access_key) end inspected end |