Method: Fog::AWS::Elasticache::Mock#reboot_cache_cluster
- Defined in:
- lib/fog/aws/requests/elasticache/reboot_cache_cluster.rb
#reboot_cache_cluster(id, nodes_to_reboot) ⇒ Object
38 39 40 41 42 43 44 45 46 47 |
# File 'lib/fog/aws/requests/elasticache/reboot_cache_cluster.rb', line 38 def reboot_cache_cluster(id, nodes_to_reboot) response = Excon::Response.new response.body = { 'CacheCluster' => self.data[:clusters][id].merge({ 'CacheClusterStatus' => 'rebooting cache cluster nodes' }), 'ResponseMetadata' => { 'RequestId' => Fog::AWS::Mock.request_id } } response end |