def save_expanded_stack(stack_id, stack_attributes)
      current_stacks = MultiJson.load(cached_stacks)
      cache.locked_action(:stacks_lock) do
        logger.info "Saving expanded stack attributes in cache (#{stack_id})"
        current_stacks[stack_id] = stack_attributes.merge("Cached" => Time.now.to_i)
        cache[:stacks].value = MultiJson.dump(current_stacks)
      end
      true
    end
def save_expanded_stack(stack_id, stack_attributes)
      current_stacks = MultiJson.load(cached_stacks)
      cache.locked_action(:stacks_lock) do
        logger.info "Saving expanded stack attributes in cache (#{stack_id})"
        current_stacks[stack_id] = stack_attributes.merge("Cached" => Time.now.to_i)
        cache[:stacks].value = MultiJson.dump(current_stacks)
      end
      true
    end
Store stack attribute changes

 @param stack_id [String]
 @param stack_attributes [Hash]
 @return [TrueClass]