def decode_semaphore_state
      lock_key = state.find { |k| k['Key'] == @lock }
      member_keys = state.delete_if { |k| k['Key'] == @lock }
      member_keys.map! { |k| k['Key'] }

      unless lock_key.nil?
        @lock_modify_index = lock_key['ModifyIndex']
        @lock_content = JSON.parse(lock_key['Value'])
      end
      @members = member_keys.map { |k| k.split('/')[-1] }
    end
def decode_semaphore_state
      lock_key = state.find { |k| k['Key'] == @lock }
      member_keys = state.delete_if { |k| k['Key'] == @lock }
      member_keys.map! { |k| k['Key'] }

      unless lock_key.nil?
        @lock_modify_index = lock_key['ModifyIndex']
        @lock_content = JSON.parse(lock_key['Value'])
      end
      @members = member_keys.map { |k| k.split('/')[-1] }
    end
Decode raw response from Consul
 Set `@lock_modify_index`, `@lock_content`, and `@members`
 @returns [Array] List of members